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