3162
|
1 <html> |
|
2 <pre> |
2330
|
3 Octave PROJECTS -*- text -*- |
|
4 =============== |
|
5 |
|
6 Check with bug-octave@bevo.che.wisc.edu for a possibly more current |
|
7 copy. Also, if you start working steadily on a project, please let |
|
8 bug-octave@bevo.che.wisc.edu know. We might have information that |
|
9 could help you; we'd also like to send you the GNU coding standards. |
|
10 |
|
11 This list is not exclusive -- there are many other things that might |
|
12 be good projects, but it might instead be something we already have, |
|
13 so check with bug-octave@bevo.che.wisc.edu before you start. |
|
14 |
|
15 --------- |
|
16 Numerical: |
|
17 --------- |
|
18 |
3174
|
19 * Allow sum, prod, cumsum, and cumprod to take a second argument |
|
20 that specifies the dimension over which to operate. |
|
21 |
2330
|
22 * Merge control stuff. |
|
23 |
|
24 * Improve logm, and sqrtm. |
|
25 |
|
26 * Improve complex mapper functions. |
|
27 |
|
28 * Make functions like gamma() return the right IEEE Inf or NaN |
|
29 values for extreme args or other undefined cases. |
|
30 |
|
31 * Handle complex values in fread and fwrite. |
|
32 |
|
33 * Support for lp_solve for linear programming problems. |
|
34 |
|
35 * Free QP solver. |
|
36 |
|
37 * Free NLP solver. |
|
38 |
|
39 * Support for sparse matrices. |
|
40 |
|
41 * Fix CollocWt to handle Laguerre polynomials. Make it easy to |
|
42 extend it to other polynomial types. |
|
43 |
3130
|
44 * Make filter faster (perhaps by calling BLAS functions). |
|
45 |
2330
|
46 * Add optional arguments to colloc so that it's not restricted to |
|
47 Legendre polynomials. |
|
48 |
|
49 * Fix eig to also be able to solve the generalized eigenvalue |
|
50 problem, and to solve for eigenvalues and eigenvectors without |
|
51 performing a balancing step first. |
|
52 |
|
53 * Move rand, eye, xpow, xdiv, etc., functions to the matrix classes. |
|
54 |
2477
|
55 * Use octave_allocator for memory management in Array classes once |
|
56 g++ supports static member templates. |
|
57 |
2330
|
58 * Implement the following functions: |
|
59 -- ppval -- cross -- dot |
|
60 |
2789
|
61 * When constructing NLConst (and other) objects, make sure that |
|
62 there are sufficient checks to ensure that the dimensions all |
|
63 conform. |
|
64 |
2439
|
65 * Allow parameters to be passed through the call to fsolve() to the |
2777
|
66 user-supplied function for Matlab compatibility. Don't place an |
2439
|
67 upper limit on the number of arguments. |
|
68 |
2330
|
69 * Check matrix classes for proper handling of empty matrices. |
|
70 |
2602
|
71 * Force all empty matrices to be 0x0 even when other dimensions have |
|
72 been speicified, for compatibility with Matlab, at least when some |
|
73 preference variable is set. |
|
74 |
2789
|
75 * Make operations with empty matrices produce empty matrices, for |
|
76 compatibility with Matlab (but only if Matlab 5 still does things |
|
77 this way). For example: [1, 2] * [] ==> []. |
|
78 |
2799
|
79 * Should any ([]) return [] or 0? What about all ([])? |
|
80 |
2330
|
81 * Improve design of ODE, DAE, classes. |
|
82 |
2439
|
83 * Make it possible to specify a time which dassl and lsode should |
|
84 not integrate past. |
|
85 |
2799
|
86 * Add interface to daspk (new version of dassl). |
|
87 |
2330
|
88 * Extend meaning of .* to include v .* M or M .* v (where v is a |
|
89 column vector with the same number of rows as M) to scale rows of |
|
90 M by elements of v. Similarly, if w is a row vector with as many |
|
91 columns as M, then either w .* M or M .* w scales the columns of |
|
92 M. |
|
93 |
2787
|
94 * Add support for +=, -=, etc. |
|
95 |
2497
|
96 * Given two vectors x and y of length m and n, implement a function |
|
97 outer (x, y, f) that returns an m-by-n matrix with entries |
|
98 f (x(i), y(j)). If f is omitted, multiplication is the default. |
2506
|
99 Should probably work for any vectors, not just if x is a column |
|
100 vector and y is a row vector. |
2497
|
101 |
2789
|
102 * Make it possible to solve b = L \ x efficiently, either by |
|
103 providing an explicit function call, or by automatically |
|
104 determining that L is triangular. If it is done automatically, |
|
105 provide some means for determining whether Octave has actually |
|
106 detected that the matrix is triangular. |
|
107 |
2799
|
108 * The polyfit function uses the economy QR factorization, but even |
|
109 that can take a lot of time for large datasets. Consider an |
|
110 option to compute the result with inv (A' * A) * A' * y or some |
|
111 other faster method.d Possibly just switch to this method if the |
|
112 dataset is larger than some value. |
|
113 |
3141
|
114 * Make QR more memory efficient for large matrices when not all the |
|
115 columns of Q are required (apparently this is not handled by the |
|
116 lapack code yet). |
|
117 |
2799
|
118 * Consider making the behavior of the / and \ operators for |
|
119 non-square systems compatible with Matlab. |
|
120 |
2330
|
121 -------- |
|
122 Graphics: |
|
123 -------- |
|
124 |
|
125 * Make plotting with plplot work. |
|
126 |
|
127 * Fix interface with gnuplot to wait for gnuplot to output any text |
|
128 before octave returns a prompt. Possible by implementing two |
|
129 way communication between gnuplot and Octave. |
|
130 |
3136
|
131 * Handle gnuplot ranges correctly for parametric modes (accept 3 |
|
132 ranges for 2d plots and 5 ranges for 3d plots). |
|
133 |
2330
|
134 * Make gsave (and possibly gload) work. Implement gsave by having it |
|
135 also alter the plot command to not use temporary files (perhaps |
|
136 with some user-specified template for naming them) and then |
|
137 sending a `save' command to gnuplot. |
|
138 |
|
139 * It would be nice to be able to check that a plot is currently |
|
140 being displayed. |
|
141 |
2422
|
142 * Implement clf, gcf, get, set, orient, print, close, etc. in |
|
143 Matlab-compatible ways. |
2330
|
144 |
|
145 * Make it possible to check the current graphics terminal type. |
|
146 |
2560
|
147 * If possible, pass data to gnuplot without using temporary files. |
|
148 |
2789
|
149 * If using temporary files, delete them when gnuplot exits. |
|
150 |
2560
|
151 * If possible, pass binary data to gnuplot to speed things up. |
|
152 |
2799
|
153 * If using gnuplot, consider setting a smaller default for the |
|
154 `zero' value (e.g., set zero sqrt (realmin) or something). |
|
155 |
2330
|
156 ------- |
|
157 Strings: |
|
158 ------- |
|
159 |
2789
|
160 * Improve performance of string functions, particularly for |
|
161 searching and replacing. |
|
162 |
|
163 * Provide some regex matching functions. |
|
164 |
2330
|
165 * Convert string functions to work on string arrays. |
|
166 |
|
167 * Make find work for strings. |
|
168 |
2378
|
169 * Consider making octave_print_internal() print some sort of text |
|
170 representation for unprintable characters instead of sending them |
|
171 directly to the terminal. (But don't do this for fprintf!) |
|
172 |
|
173 * Consider changing the default value of `string_fill_char' from SPC |
|
174 to NUL. |
|
175 |
2560
|
176 * Consider making ["test", []] ==> "test", for compatibility with |
|
177 Matlab, at least when some set of preferences are set. |
|
178 |
2330
|
179 ---------------- |
|
180 Other Data Types: |
|
181 ---------------- |
|
182 |
|
183 * New types (char, short, etc.). |
|
184 |
|
185 * 3d matrix stuff. |
|
186 |
|
187 * Template functions for mixed-type ops. |
|
188 |
|
189 * Stuff for arithmetic using charMatrix, intMatrix, etc. |
|
190 |
|
191 ------------------------ |
|
192 Graphical User Interface: |
|
193 ------------------------ |
|
194 |
|
195 * In an X11 or other windowing environment, allow the user to pop up |
|
196 windows for menus and other purposes. A good place to start might |
|
197 be Tk, as long as Tcl is avoided. |
|
198 |
|
199 * Add a way to handle events, like alarms, mouse clicks, etc. |
|
200 |
|
201 ------------ |
|
202 Input/Output: |
|
203 ------------ |
|
204 |
|
205 * Make fread and fwrite work for complex data. Iostreams based |
|
206 versions of these functions would also be nice, and if you are |
|
207 working on them, it would be good to support other size |
|
208 specifications (integer*2, etc.). |
|
209 |
|
210 * Make load and save work for structures. |
|
211 |
|
212 * Make load and save look for <file>.mat if only given <file>. |
|
213 |
2799
|
214 Potential sticky points: |
|
215 |
|
216 - For load, if both foo and foo.mat exist, should it prefer foo |
|
217 or foo.mat? Should the preference depend on the arguments to |
|
218 load? I think it should only prefer .mat files if the |
|
219 -mat-binary option is supplied, or if the file foo.mat exists |
|
220 but the file foo does not. |
|
221 |
|
222 - For save, should it prefer to create foo or foo.mat? Should |
|
223 the preference depend on the arguments to save? Should the |
|
224 default_save_format imply a default preference? I think it |
|
225 should only create .mat files if it is writing Matlab |
|
226 compatible files. |
|
227 |
2330
|
228 * Move some pr-output stuff to liboctave. |
|
229 |
|
230 * Make the cutoff point for changing to packed storage a |
|
231 user-preference variable with default value 8192. |
|
232 |
|
233 * Save image data in binary format to save space. |
|
234 |
2378
|
235 * Make it possible to load other image formats (ppm, pbm, etc. would |
|
236 probably be best since there are already filters to convert to |
|
237 these formats from others.) |
|
238 |
2330
|
239 * Use HDF for binary data. |
|
240 |
2789
|
241 * Make ascii load and save work for Inf and NaN. (This is really a |
|
242 problem with the functions for reading floats in the GNU iolib.) |
2330
|
243 |
|
244 * Complain if there is not enough disk space available (I think |
|
245 there is simply not enough error checking in the code that handles |
|
246 writing data). |
|
247 |
|
248 * Make it possible to tie arbitrary input and output streams |
|
249 together, similar to the way iostreams can be tied together. |
|
250 |
3105
|
251 * Allow comments in number-only data files. |
|
252 |
2330
|
253 ----------- |
|
254 Interpreter: |
|
255 ----------- |
|
256 |
3162
|
257 * Allow customization of the debug prompt. |
|
258 |
|
259 * For the keyboard function, parse return (or quit) more |
|
260 intelligently so that something like |
|
261 |
|
262 debug> x = 1; return |
|
263 |
|
264 will work as expected. |
|
265 |
2601
|
266 * Fix the parser so that |
|
267 |
|
268 function foo () |
|
269 implicit_str_to_num_ok = 1; |
|
270 '#' + 0; |
|
271 endfunction |
|
272 |
|
273 succeeds, even when implicit_str_to_num_ok is 0 at the time the |
|
274 function is parsed. |
|
275 |
3081
|
276 * Fix the parser so that |
|
277 |
|
278 if (expr) 'this is a string' end |
|
279 |
|
280 is parsed as IF expr STRING END. |
|
281 |
2893
|
282 * For indexing operations, allow `$' to indicate the last element. |
|
283 For example, b = a (3:$, 1:$-1). This means b is a, except for |
|
284 its first 2 rows and last column. Note that `$' must be able to |
|
285 appear in arbitrarily complex expressions, so copying the the |
|
286 current implementation of `:' won't work. |
|
287 |
2569
|
288 * If foo.oct and foo.m both exist in the LOADPATH, Octave will |
|
289 always find foo.oct, even if foo.m appears earlier in the list of |
|
290 directories. This should be fixed (in the kpathsearch library) to |
|
291 find the first .oct or .m file in the path, and only prefer .oct |
|
292 over .m if both files are in the same directory. |
|
293 |
2330
|
294 * Consider grouping all preference variables in a structure instead |
|
295 of further polluting the namespace. Maybe `Octave_options.xxx'? |
|
296 |
|
297 * Rewrite functions in input.cc to do the right thing in all cases |
|
298 of using readline, forced interactive behavior, echoing of input, |
|
299 etc. |
|
300 |
|
301 * Make it possible to redefine built-in variables and functions. |
|
302 (Fix whatever it is that is happening with clear for built-in |
|
303 variables.) |
|
304 |
|
305 * Make it possible to check if a variable is complex. |
|
306 |
|
307 * Consider making linspace() and logspace() return the value |
|
308 corresponding to the first argument if the number of requested |
|
309 points is 1. |
|
310 |
|
311 * Consider allowing an arbitrary property list to be attached to any |
|
312 variable. This could be a more general way to handle the help |
|
313 string that can currently be added with `document'. |
|
314 |
|
315 * Allow more command line options to be accessible as built-in |
|
316 variables (--echo-commands, etc.). |
|
317 |
|
318 * Allow `octave -c STRING' to execute commands from STRING then |
|
319 exit. |
|
320 |
|
321 * Make the interpreter run faster. |
|
322 |
|
323 * Make it possible to disable or enable all warnings on an |
|
324 individual basis from the command line or via some built-in |
|
325 structure variable. |
|
326 |
2378
|
327 * Make warnings also give some indication about the location of the |
|
328 code that triggers the warning. |
|
329 |
|
330 * Warn about complex comparisons? Could just use double_value() or |
|
331 matrix_value() instead of explicit conversions to real types. For |
|
332 this to really be useful, some additional information must be |
|
333 available to point to the location of the code that triggers the |
|
334 warning. |
|
335 |
2330
|
336 * Consider making it possible to have arrays of structures, and some |
|
337 way of indexing them. |
|
338 |
|
339 * Allow arbitrary lower bounds for array indexing. (Watch out for |
|
340 the additional conflict with zero-one style indexing.) |
|
341 |
|
342 * Recursive problems. |
|
343 |
|
344 * Improve the way ignore_function_time_stamp works to allow |
3167
|
345 selecting by individual directories or functions. |
2330
|
346 |
|
347 * Make it possible to ask exist() to only look for certain classes |
|
348 of variables, functions, files, etc. rather than always looking for |
|
349 everything. |
|
350 |
|
351 * Add a command-line option to tell Octave to just do syntax |
|
352 checking and not execute statements. |
|
353 |
|
354 * Is it necessary for do_binary_op and do_unary_op to be friends of |
|
355 the tree_constant class. |
|
356 |
|
357 * Clean up symtab and variable stuff. |
|
358 |
|
359 * Input stream class for parser files -- must manage buffers for |
|
360 flex and context for global variable settings. |
|
361 |
3162
|
362 * make parser do more semantic checking, continue after errors when |
|
363 compiling functions, etc. |
|
364 |
2330
|
365 * Make LEXICAL_ERROR have a value that is the error message for |
|
366 parse_error() to print? |
|
367 |
|
368 * Make it possible to clear dynamically loaded functions. |
|
369 |
|
370 * Add a run-time alias mechanism that would allow things like |
|
371 |
|
372 alias fun function_with_a_very_long_name |
|
373 |
|
374 so that `function_with_a_very_long_name' could be invoked as |
|
375 `fun'. |
|
376 |
|
377 * What should is_global() return when called for built-in variables? |
|
378 |
|
379 * Allow local changes to variables to be written more compactly than |
|
380 is currently possible with unwind_protect. For example, |
|
381 |
|
382 function f () |
|
383 local prefer_column_vectors = something; |
|
384 ... |
|
385 endfunction |
|
386 |
|
387 would be equivalent to |
|
388 |
|
389 function f () |
|
390 unwind_protect |
|
391 save_prefer_column_vectors = prefer_column_vectors; |
|
392 prefer_column_vectors = something; |
|
393 ... |
|
394 unwind_protect_cleanup |
|
395 prefer_column_vectors = save_prefer_column_vectors; |
|
396 end_unwind_protect |
|
397 endfunction |
|
398 |
|
399 * Fix all function files to check for bogus inputs (wrong number or |
|
400 types of input arguments, wrong number of output arguments). |
|
401 |
2789
|
402 * Reduce the memory and time required to parse very large matrix |
|
403 lists. |
|
404 |
2330
|
405 * Handle options for built-in functions more consistently. |
|
406 |
|
407 * Too much time is spent allocating and freeing memory. What can be |
|
408 done to improve performance? |
|
409 |
|
410 * Error output from Fortran code is ugly. Something should be done to |
|
411 make it look better. |
|
412 |
|
413 * It would be nice if output from the Fortran routines could be |
|
414 passed through the pager. |
|
415 |
|
416 * Attempt to recognize common subexpressions in the parser. |
|
417 |
|
418 * Remove the buffer size limit in octave_read() in input.cc. |
|
419 |
|
420 * Handle arrays with more than two dimensions. |
|
421 |
|
422 * Consider making assignment statements like |
|
423 |
|
424 M (i_idx, j_idx) = RHS |
|
425 |
|
426 produce the value of RHS instead of the value of M. |
|
427 |
|
428 * Consider making it possible to specify an empty matrix with a |
|
429 syntax like [](e1, e2). Of course at least one of the expressions |
|
430 must be zero... |
|
431 |
|
432 * Eliminate force_numeric and make_numeric functions. |
|
433 |
|
434 * Is Matrix::fortran_vec() really necessary? |
2862
|
435 |
2330
|
436 * print_usage() should set error_state in most cases? |
|
437 |
|
438 * Make statements like this |
|
439 |
|
440 foo bar baz |
|
441 |
|
442 turn into function calls like this: |
|
443 |
|
444 foo ("bar", "baz") |
|
445 |
|
446 This is pretty ugly and introduces some conflicts. |
|
447 |
|
448 * Add a command that works like bash's `builtin' command. |
|
449 |
|
450 * Handle comments in parse trees for use with the type command. |
|
451 |
2378
|
452 * Make the type command handle script files too, by just reading and |
|
453 printing them. |
|
454 |
3174
|
455 * The which and type commands should distinguish between dynamically |
3059
|
456 linked functions and built-in functions. For dynamically linked |
|
457 functions, the location of the .oct file should be displayed. |
|
458 |
2330
|
459 * Clean up eye, eval, feval, keyboard, input, ones, zeros. |
|
460 |
|
461 * It would be nice to have an interactive debugger. |
|
462 |
2378
|
463 * Make whos report total memory used by variables (and functions?). |
|
464 |
2746
|
465 * Rewrite whos and the symbol_record_info class. Write a built-in |
|
466 function that gives all the basic information, then write who and |
|
467 whos as M-files. |
2439
|
468 |
3125
|
469 * Make whos work for structure elements: |
|
470 |
|
471 prot type rows cols name |
|
472 ==== ==== ==== ==== ==== |
|
473 wd matrix m n struct.x |
|
474 |
3249
|
475 * Allow who to return information as a list of strings. |
|
476 |
2799
|
477 * On systems that support matherr(), make it possible for users to |
|
478 enable the printing of warning messages. |
|
479 |
2862
|
480 * Make it possible to mark variables and functions as read-only. |
|
481 |
3060
|
482 * Provide a built-in function for applying a scalar function to an |
|
483 array. Be sure to note in the manual that this is not the |
|
484 preferred way to write a function that can handle vector/matrix |
|
485 arguments because there is a significant overhead for function |
|
486 calls. If you are really looking to make a function work for |
|
487 vector/matrix arguments and you want it to run fast, you should |
|
488 write it in terms of the existing vector/matrix operators as much |
|
489 as possible. |
|
490 |
3092
|
491 * Make it possible to write a function that gets a reference to a |
|
492 matrix in memory and change one or more elements without |
|
493 generating a second copy of the data. |
|
494 |
2330
|
495 ------- |
|
496 History: |
|
497 ------- |
|
498 |
|
499 * Add an option to allow saving input from script files in the |
|
500 history list. |
|
501 |
3092
|
502 * The history command should accept two numeric arguments to |
|
503 indicate a range of history entries to display, save or read. |
|
504 |
2862
|
505 * Add an option to include information about the Octave session in |
|
506 the history list. Possibly a time/date stamp and the current |
|
507 Octave line number, appended as a comment (users should probably |
|
508 be able to control the format). |
|
509 |
2330
|
510 * Fix history problems -- core dump if multiple processes are |
|
511 writing to the same history file? |
|
512 |
|
513 ------------------------------ |
|
514 Configuration and Installation: |
|
515 ------------------------------ |
|
516 |
|
517 * Make Octave as independent of the particular readline version as |
|
518 possible. |
|
519 |
2473
|
520 * Add an --enable-pathsearch option to configure to make it possible |
|
521 to configure and run without kpathsea. |
|
522 |
2811
|
523 * Make configure take more defaults from the environment. It should |
|
524 definitely pay attention to CFLAGS, CXXFLAGS, FFLAGS, etc. |
2469
|
525 |
2330
|
526 * Should --enable-lite-kernel imply --enable-shared? |
|
527 |
3069
|
528 * Should --enable-dl imply --enable-shared? |
|
529 |
2330
|
530 * Makefile changes: |
|
531 -- eliminate for loops |
|
532 -- define shell commands or eliminate them |
|
533 -- verify distclean |
|
534 -- consolidate targets |
|
535 |
|
536 * Make it possible to configure so that installed binaries and |
|
537 shared libraries are stripped. |
|
538 |
3069
|
539 * Create a docs-only distribution? |
|
540 |
2330
|
541 ------------------------------ |
|
542 Documentation and On-Line Help: |
|
543 ------------------------------ |
|
544 |
|
545 * Document new features. |
|
546 -- history-search-{back,for}ward. |
|
547 -- try/catch. |
|
548 -- Other stuff mentioned in the NEWS file. |
|
549 |
|
550 * Improve the Texinfo Documentation for the interpreter. It would |
|
551 be useful to have lots more examples, to not have so many forward |
|
552 references, and to not have very many simple lists of functions. |
|
553 |
|
554 * The docs should mention something about efficiency and that using |
|
555 array operations is almost always a good idea for speed. |
|
556 |
|
557 * Texinfo documentation for the C++ classes. |
|
558 |
|
559 * Support multiple info files, perhaps allowing one or more in each |
|
560 directory in the LOADPATH, so that local collections of M-files |
|
561 could be documented with Info. |
|
562 |
|
563 * Figure out a good way to have functions and variables documented |
|
564 in only one place. |
|
565 |
|
566 * Improve help messages for operators and keywords in help.cc. |
|
567 |
|
568 * Make index entries more consistent to improve behavior of `help -i'. |
|
569 |
|
570 * Make `help -i' try to find a whole word match first. |
|
571 |
|
572 * Allow help for local additions to be accessible with help -i. |
|
573 |
|
574 * Make the arrow keys work in the info reader. |
|
575 |
|
576 * Update Info to be based on the current Texinfo release. |
|
577 |
2378
|
578 * Should info/terminal.c include definitions for PC, BC, UP, and |
|
579 ospeed on all systems? |
|
580 |
3130
|
581 * Clean up help stuff. |
|
582 |
2330
|
583 * Demo files. |
|
584 |
|
585 * As the number of m-files with octave grows perhaps a 'Contents.m' |
|
586 file for each toolbox (directory) would be appropriate so one |
|
587 knows exactly what functions are in a toolbox with a quick look. |
|
588 It would be best to generate information for each function directly |
|
589 from the M-files, so that the information doesn't have to be |
|
590 duplicated, and will remain current if the M-files change. It |
|
591 would also be best to do as much of this as possible in an M-file, |
|
592 though I wouldn't mind adding some basic support for listing the |
|
593 names of all the directories in the LOADPATH, and the names of all |
|
594 the M-files in a given directory if that is needed. |
|
595 |
2787
|
596 Also make it possible to recursively search for Contents files: |
|
597 |
|
598 help dir -- Contents from dir |
|
599 help dir// -- Contents from dir and all its subdirectories |
|
600 help dir1/dir2 -- Contents from dir2 which is under dir1 |
|
601 |
2330
|
602 * Some sort of blurb (2-3 pages) describing Octave in a reasonably |
|
603 coherent way, where to get it etc., perhaps formatted pretty, |
|
604 i.e. not just text. Maybe start with the latest Announce file. |
|
605 |
|
606 ----- |
|
607 Tests: |
|
608 ----- |
|
609 |
|
610 * Improved set of tests: |
|
611 |
|
612 -- Tests for various functions. Would be nice to have a test file |
|
613 corresponding to every function. |
|
614 |
|
615 -- Tests for element by element operators: |
|
616 + - .* ./ .\ .^ | & < <= == >= > != ! |
|
617 |
|
618 -- Tests for boolean operators: && || |
|
619 |
|
620 -- Tests for other operators: * / \ ' .' |
|
621 |
|
622 -- Tests from bug reports. |
|
623 |
|
624 -- Tests for indexed assignment. Need to consider the following: |
|
625 o fortran-style indexing |
|
626 o zero-one indexing |
|
627 o assignment of empty matrix as well as values |
|
628 o resizing |
|
629 |
|
630 * Tests for all internal functions. |
|
631 |
|
632 ----------- |
|
633 Programming: |
|
634 ----------- |
|
635 |
|
636 * Move toward using more stuff from standard C++ library. |
|
637 |
|
638 * More C++/Fortran cleanups. |
|
639 |
|
640 * It is likely that there are still some memory leaks. Hunt then down |
|
641 and plug them. |
|
642 |
2475
|
643 * Better error messages for missing operators? |
|
644 |
|
645 * Eliminate duplicate enums in pt-exp.cc, pt-const.cc, and ov.cc. |
|
646 |
|
647 * Handle octave_print_internal() stuff at the liboctave level. Then |
|
648 the octave_value classes could just call on the print() methods |
|
649 for the underlying classes. |
|
650 |
|
651 * As much as possible, eliminate explicit checks for the types of |
|
652 octave_value objects so that user-defined types will automatically |
|
653 do the right thing in more cases. |
|
654 |
2330
|
655 * Only include config.h in files that actually need it, instead of |
|
656 including it in every .cc file. Unfortunately, this might not be |
|
657 so easy to figure out. |
|
658 |
|
659 * GNU coding standards: |
|
660 |
|
661 -- Add a `Makefile' target to the Makefiles. |
|
662 -- Comments on #else and #endif preprocessor commands. |
|
663 -- Change error message format to match standards everywhere. |
|
664 |
|
665 * Use STL stuff instead of libg++ lists, maps, and stacks. |
|
666 |
|
667 * Eliminate more global variables. |
|
668 |
|
669 * Encapsulate readline in a class. Include interface to stuff like |
|
670 blink_matching_paren. |
|
671 |
|
672 * Encapsulate resource stuff in a class. |
|
673 |
|
674 * Move procstream to liboctave. |
|
675 |
|
676 * Replace more C-style vectors with Array<T> stuff. |
|
677 |
|
678 * Use references and classes in more places. |
|
679 |
|
680 * Share more code among the various *_options functions. |
|
681 |
|
682 ------------- |
|
683 Miscellaneous: |
|
684 ------------- |
|
685 |
|
686 * Implement some functions for interprocess communication: bind, |
|
687 accept, connect, gethostbyname, etc. |
|
688 |
2454
|
689 * The installation process should also install octave.el. This |
|
690 needs to detect the appropriate Emacs binary to use to |
|
691 byte-compile the .el file. Following GNU Emacs philosophy, |
|
692 installation would be into $(prefix)/share/emacs/site-lisp by |
|
693 default, but it should be selectable. |
|
694 |
2330
|
695 * The ability to transparently handle very large files: |
|
696 |
|
697 Juhana K Kouhia <kouhia@nic.funet.fi> wrote: |
|
698 |
|
699 If I have a one-dimensional signal data with the size 400 |
|
700 Mbytes, then what are my choices to operate with it: |
|
701 |
|
702 * I have to split the data |
|
703 * Octave has a virtual memory on its own and I don't have to |
|
704 worry about the splitting. |
|
705 |
|
706 If I split the data, then my easily programmed processing |
|
707 programs will become hard to program. |
|
708 |
|
709 If possible, I would like to have the virtual memory system in |
|
710 Octave i.e. the all big files, the user see as one big array or |
|
711 such. There could be several user selectable models to do the |
|
712 virtual memory depending on what kind of data the user have (1d, |
|
713 2d) and in what order they are processed (stream or random |
|
714 access). |
|
715 |
|
716 Perhaps this can be done entirely with a library of M-files. |
|
717 |
3136
|
718 * An interface to gdb. |
|
719 |
|
720 Michael Smolsky <fnsiguc@weizmann.weizmann.ac.il> wrote: |
|
721 |
|
722 I was thinking about a tool, which could be very useful for me |
|
723 in my numerical simulation work. It is an interconnection |
|
724 between gdb and octave. We are often managing very large arrays |
|
725 of data in our fortran or c codes, which might be studied with |
|
726 the help of octave at the algorithm development stages. Assume |
|
727 you're coding, say, wave equation. And want to debug the |
|
728 code. It would be great to pick some array from the memory of |
|
729 the code you're develloping, fft it and see the image as a |
|
730 log-log plot of the spectral density. I'm facing similar |
|
731 problems now. To avoid high c-development cost, I develop in |
|
732 matlab/octave, and then rewrite into c. It might be so much |
|
733 easier, if I could off-load a c array right from the debugger |
|
734 into octave, study it, and, perhaps, change some [many] values |
|
735 with a convenient matlab/octave syntax, similar to |
|
736 a(:,50:250)=zeros(100,200), and then store it back into the |
|
737 memory of my c code. |
|
738 |
2789
|
739 * Add a definition to lgrind so that it supports Octave. |
|
740 (See http://www.tex.ac.uk/tex-archive/support/lgrind/ for more |
|
741 information about lgrind.) |
|
742 |
2330
|
743 ------ |
|
744 Always: |
|
745 ------ |
|
746 |
|
747 * Squash bugs. |
|
748 |
|
749 --30-- |
3162
|
750 </pre> |
|
751 </html> |