2330
|
1 Octave PROJECTS -*- text -*- |
|
2 =============== |
|
3 |
|
4 Check with bug-octave@bevo.che.wisc.edu for a possibly more current |
|
5 copy. Also, if you start working steadily on a project, please let |
|
6 bug-octave@bevo.che.wisc.edu know. We might have information that |
|
7 could help you; we'd also like to send you the GNU coding standards. |
|
8 |
|
9 This list is not exclusive -- there are many other things that might |
|
10 be good projects, but it might instead be something we already have, |
|
11 so check with bug-octave@bevo.che.wisc.edu before you start. |
|
12 |
|
13 --------- |
|
14 Numerical: |
|
15 --------- |
|
16 |
|
17 * Merge control stuff. |
|
18 |
|
19 * Improve logm, and sqrtm. |
|
20 |
|
21 * Improve complex mapper functions. |
|
22 |
|
23 * Make functions like gamma() return the right IEEE Inf or NaN |
|
24 values for extreme args or other undefined cases. |
|
25 |
|
26 * Handle complex values in fread and fwrite. |
|
27 |
|
28 * Support for lp_solve for linear programming problems. |
|
29 |
|
30 * Free QP solver. |
|
31 |
|
32 * Free NLP solver. |
|
33 |
|
34 * Support for sparse matrices. |
|
35 |
|
36 * Fix CollocWt to handle Laguerre polynomials. Make it easy to |
|
37 extend it to other polynomial types. |
|
38 |
|
39 * Add optional arguments to colloc so that it's not restricted to |
|
40 Legendre polynomials. |
|
41 |
|
42 * Fix eig to also be able to solve the generalized eigenvalue |
|
43 problem, and to solve for eigenvalues and eigenvectors without |
|
44 performing a balancing step first. |
|
45 |
|
46 * Move rand, eye, xpow, xdiv, etc., functions to the matrix classes. |
|
47 |
|
48 * Implement the following functions: |
|
49 -- ppval -- cross -- dot |
|
50 |
|
51 * Allow user-supplied gradient information to be passed to NPSOL. |
|
52 |
|
53 * Support for FSQP. |
|
54 |
|
55 * Convert FSQP style NLP statement to NPSOL style. |
|
56 |
|
57 * Convert NPSOL style NLP statement to FSQP style. |
|
58 - Look for linear equality constraints, extract corresponding rows |
|
59 of C. The rest are inequality constraints. |
|
60 - Look for Nonlinear equality constraints and set up a vector of |
|
61 pointers for shuffling. |
|
62 - Transform lb <= C*x <= ub, lb != ub, to C*x - ub <= 0 and |
|
63 lb - C*x <= 0. Likewise for lb <= g(x) <= ub. |
|
64 - Call FSQP. |
|
65 |
|
66 * Optional inputs for fsqp. |
|
67 |
2439
|
68 * Allow parameters to be passed through the call to fsolve() to the |
|
69 user-supplied function for Matlab compatibility. Don't place an |
|
70 upper limit on the number of arguments. |
|
71 |
2330
|
72 * If possible, make economy QR factorization actually take advantage |
|
73 of the form of the result instead of just dropping columns. |
|
74 Lapack doesn't appear to do this yet. |
|
75 |
|
76 * Check matrix classes for proper handling of empty matrices. |
|
77 |
|
78 * Improve design of ODE, DAE, classes. |
|
79 |
2439
|
80 * Make it possible to specify a time which dassl and lsode should |
|
81 not integrate past. |
|
82 |
2330
|
83 * Extend meaning of .* to include v .* M or M .* v (where v is a |
|
84 column vector with the same number of rows as M) to scale rows of |
|
85 M by elements of v. Similarly, if w is a row vector with as many |
|
86 columns as M, then either w .* M or M .* w scales the columns of |
|
87 M. |
|
88 |
|
89 -------- |
|
90 Graphics: |
|
91 -------- |
|
92 |
|
93 * Make plotting with plplot work. |
|
94 |
|
95 * Fix interface with gnuplot to wait for gnuplot to output any text |
|
96 before octave returns a prompt. Possible by implementing two |
|
97 way communication between gnuplot and Octave. |
|
98 |
|
99 * Make gsave (and possibly gload) work. Implement gsave by having it |
|
100 also alter the plot command to not use temporary files (perhaps |
|
101 with some user-specified template for naming them) and then |
|
102 sending a `save' command to gnuplot. |
|
103 |
|
104 * It would be nice to be able to check that a plot is currently |
|
105 being displayed. |
|
106 |
2422
|
107 * Implement clf, gcf, get, set, orient, print, close, etc. in |
|
108 Matlab-compatible ways. |
2330
|
109 |
|
110 * Make it possible to check the current graphics terminal type. |
|
111 |
|
112 ------- |
|
113 Strings: |
|
114 ------- |
|
115 |
|
116 * Convert string functions to work on string arrays. |
|
117 |
|
118 * Make find work for strings. |
|
119 |
2378
|
120 * Consider making octave_print_internal() print some sort of text |
|
121 representation for unprintable characters instead of sending them |
|
122 directly to the terminal. (But don't do this for fprintf!) |
|
123 |
|
124 * Consider changing the default value of `string_fill_char' from SPC |
|
125 to NUL. |
|
126 |
2330
|
127 ---------------- |
|
128 Other Data Types: |
|
129 ---------------- |
|
130 |
|
131 * New types (char, short, etc.). |
|
132 |
|
133 * 3d matrix stuff. |
|
134 |
|
135 * Template functions for mixed-type ops. |
|
136 |
|
137 * Stuff for arithmetic using charMatrix, intMatrix, etc. |
|
138 |
|
139 ------------------------ |
|
140 Graphical User Interface: |
|
141 ------------------------ |
|
142 |
|
143 * In an X11 or other windowing environment, allow the user to pop up |
|
144 windows for menus and other purposes. A good place to start might |
|
145 be Tk, as long as Tcl is avoided. |
|
146 |
|
147 * Add a way to handle events, like alarms, mouse clicks, etc. |
|
148 |
|
149 ------------ |
|
150 Input/Output: |
|
151 ------------ |
|
152 |
|
153 * Make fread and fwrite work for complex data. Iostreams based |
|
154 versions of these functions would also be nice, and if you are |
|
155 working on them, it would be good to support other size |
|
156 specifications (integer*2, etc.). |
|
157 |
|
158 * Make load work to read files that contain numbers only, and put |
|
159 the values in a matrix named after the file. |
|
160 |
|
161 * Make load and save work for structures. |
|
162 |
|
163 * Make load and save look for <file>.mat if only given <file>. |
|
164 |
|
165 * Move some pr-output stuff to liboctave. |
|
166 |
|
167 * Make the cutoff point for changing to packed storage a |
|
168 user-preference variable with default value 8192. |
|
169 |
|
170 * Save image data in binary format to save space. |
|
171 |
2378
|
172 * Make it possible to load other image formats (ppm, pbm, etc. would |
|
173 probably be best since there are already filters to convert to |
|
174 these formats from others.) |
|
175 |
2330
|
176 * Use HDF for binary data. |
|
177 |
|
178 * Make ascii load and save work for Inf and NaN. |
|
179 |
|
180 * Complain if there is not enough disk space available (I think |
|
181 there is simply not enough error checking in the code that handles |
|
182 writing data). |
|
183 |
|
184 * Make it possible to tie arbitrary input and output streams |
|
185 together, similar to the way iostreams can be tied together. |
|
186 |
|
187 ----------- |
|
188 Interpreter: |
|
189 ----------- |
|
190 |
|
191 * Consider grouping all preference variables in a structure instead |
|
192 of further polluting the namespace. Maybe `Octave_options.xxx'? |
|
193 |
|
194 * Rewrite functions in input.cc to do the right thing in all cases |
|
195 of using readline, forced interactive behavior, echoing of input, |
|
196 etc. |
|
197 |
|
198 * Make it possible to redefine built-in variables and functions. |
|
199 (Fix whatever it is that is happening with clear for built-in |
|
200 variables.) |
|
201 |
|
202 * Make it possible to check if a variable is complex. |
|
203 |
|
204 * Consider making linspace() and logspace() return the value |
|
205 corresponding to the first argument if the number of requested |
|
206 points is 1. |
|
207 |
|
208 * Make it possible to get the names of the arguments that are passed |
|
209 to functions, at least if simple variables are passed. |
|
210 |
|
211 * Fix name of text-style functions (or at least explain it in the |
|
212 manual). |
|
213 |
|
214 * Consider allowing an arbitrary property list to be attached to any |
|
215 variable. This could be a more general way to handle the help |
|
216 string that can currently be added with `document'. |
|
217 |
|
218 * Allow more command line options to be accessible as built-in |
|
219 variables (--echo-commands, etc.). |
|
220 |
|
221 * Allow `octave -c STRING' to execute commands from STRING then |
|
222 exit. |
|
223 |
|
224 * Handle DOS style CRLFs in M files. This should probably be |
|
225 optional. |
|
226 |
|
227 * Make the interpreter run faster. |
|
228 |
|
229 * Make it possible to disable or enable all warnings on an |
|
230 individual basis from the command line or via some built-in |
|
231 structure variable. |
|
232 |
2378
|
233 * Warn about complex comparisons? Could just use double_value() or |
|
234 matrix_value() instead of explicit conversions to real types. |
|
235 |
|
236 * Make warnings also give some indication about the location of the |
|
237 code that triggers the warning. |
|
238 |
|
239 * Warn about complex comparisons? Could just use double_value() or |
|
240 matrix_value() instead of explicit conversions to real types. For |
|
241 this to really be useful, some additional information must be |
|
242 available to point to the location of the code that triggers the |
|
243 warning. |
|
244 |
2330
|
245 * Consider making it possible to have arrays of structures, and some |
|
246 way of indexing them. |
|
247 |
|
248 * Allow arbitrary lower bounds for array indexing. (Watch out for |
|
249 the additional conflict with zero-one style indexing.) |
|
250 |
|
251 * Recursive problems. |
|
252 |
|
253 * Improve the way ignore_function_time_stamp works to allow |
|
254 selecting by individual directories or functions. Also, |
|
255 optionally allow checking only once between each prompt instead of |
|
256 every time the function is called. |
|
257 |
|
258 * Make it possible to ask exist() to only look for certain classes |
|
259 of variables, functions, files, etc. rather than always looking for |
|
260 everything. |
|
261 |
|
262 * Add a command-line option to tell Octave to just do syntax |
|
263 checking and not execute statements. |
|
264 |
|
265 * Is it necessary for do_binary_op and do_unary_op to be friends of |
|
266 the tree_constant class. |
|
267 |
|
268 * Clean up symtab and variable stuff. |
|
269 |
|
270 * Input stream class for parser files -- must manage buffers for |
|
271 flex and context for global variable settings. |
|
272 |
|
273 * Make LEXICAL_ERROR have a value that is the error message for |
|
274 parse_error() to print? |
|
275 |
|
276 * Make it possible to clear dynamically loaded functions. |
|
277 |
|
278 * Add a run-time alias mechanism that would allow things like |
|
279 |
|
280 alias fun function_with_a_very_long_name |
|
281 |
|
282 so that `function_with_a_very_long_name' could be invoked as |
|
283 `fun'. |
|
284 |
|
285 * What should is_global() return when called for built-in variables? |
|
286 |
|
287 * Make it possible to have `static' variables inside functions that |
|
288 retain their values across calls. |
|
289 |
|
290 * Allow local changes to variables to be written more compactly than |
|
291 is currently possible with unwind_protect. For example, |
|
292 |
|
293 function f () |
|
294 local prefer_column_vectors = something; |
|
295 ... |
|
296 endfunction |
|
297 |
|
298 would be equivalent to |
|
299 |
|
300 function f () |
|
301 unwind_protect |
|
302 save_prefer_column_vectors = prefer_column_vectors; |
|
303 prefer_column_vectors = something; |
|
304 ... |
|
305 unwind_protect_cleanup |
|
306 prefer_column_vectors = save_prefer_column_vectors; |
|
307 end_unwind_protect |
|
308 endfunction |
|
309 |
|
310 * Fix all function files to check for bogus inputs (wrong number or |
|
311 types of input arguments, wrong number of output arguments). |
|
312 |
|
313 * Handle options for built-in functions more consistently. |
|
314 |
|
315 * Too much time is spent allocating and freeing memory. What can be |
|
316 done to improve performance? |
|
317 |
|
318 * Error output from Fortran code is ugly. Something should be done to |
|
319 make it look better. |
|
320 |
|
321 * It would be nice if output from the Fortran routines could be |
|
322 passed through the pager. |
|
323 |
|
324 * Attempt to recognize common subexpressions in the parser. |
|
325 |
|
326 * Remove the buffer size limit in octave_read() in input.cc. |
|
327 |
|
328 * Handle arrays with more than two dimensions. |
|
329 |
|
330 * Consider making assignment statements like |
|
331 |
|
332 M (i_idx, j_idx) = RHS |
|
333 |
|
334 produce the value of RHS instead of the value of M. |
|
335 |
|
336 * Consider making it possible to specify an empty matrix with a |
|
337 syntax like [](e1, e2). Of course at least one of the expressions |
|
338 must be zero... |
|
339 |
|
340 * Eliminate force_numeric and make_numeric functions. |
|
341 |
|
342 * Is Matrix::fortran_vec() really necessary? |
|
343 |
|
344 * print_usage() should set error_state in most cases? |
|
345 |
|
346 * Add an option to make Octave quit executing a script when error() is |
|
347 called. Also make it possible for `return' or `break' to exit a |
|
348 script. |
|
349 |
|
350 * Make statements like this |
|
351 |
|
352 foo bar baz |
|
353 |
|
354 turn into function calls like this: |
|
355 |
|
356 foo ("bar", "baz") |
|
357 |
|
358 This is pretty ugly and introduces some conflicts. |
|
359 |
|
360 * Make it possible to use text-style function names as variables. |
|
361 |
|
362 * Add a command that works like bash's `builtin' command. |
|
363 |
|
364 * Handle comments in parse trees for use with the type command. |
|
365 |
2378
|
366 * Make the type command handle script files too, by just reading and |
|
367 printing them. |
|
368 |
2330
|
369 * Clean up eye, eval, feval, keyboard, input, ones, zeros. |
|
370 |
|
371 * It would be nice to have an interactive debugger. |
|
372 |
2378
|
373 * Make whos report total memory used by variables (and functions?). |
|
374 |
2439
|
375 * Rewrite whos and the symbol_record_info class. |
|
376 |
2330
|
377 ------- |
|
378 History: |
|
379 ------- |
|
380 |
|
381 * Add an option to allow saving input from script files in the |
|
382 history list. |
|
383 |
|
384 * Fix history problems -- core dump if multiple processes are |
|
385 writing to the same history file? |
|
386 |
|
387 ------------------------------ |
|
388 Configuration and Installation: |
|
389 ------------------------------ |
|
390 |
2473
|
391 * Handle USE_READLINE so that --enable-readline will work. |
2330
|
392 |
|
393 * Make Octave as independent of the particular readline version as |
|
394 possible. |
|
395 |
2473
|
396 * Add an --enable-pathsearch option to configure to make it possible |
|
397 to configure and run without kpathsea. |
|
398 |
2469
|
399 * Make configure take more defaults from the environment. |
|
400 |
2330
|
401 * Should --enable-lite-kernel imply --enable-shared? |
|
402 |
|
403 * Make it possible to configure without readline. |
|
404 |
|
405 * Makefile changes: |
|
406 -- eliminate for loops |
|
407 -- define shell commands or eliminate them |
|
408 -- verify distclean |
|
409 -- consolidate targets |
|
410 |
|
411 * Make it possible to configure so that installed binaries and |
|
412 shared libraries are stripped. |
|
413 |
|
414 * Make installation of the static libraries optional. |
|
415 |
|
416 ------------------------------ |
|
417 Documentation and On-Line Help: |
|
418 ------------------------------ |
|
419 |
|
420 * Document new features. |
|
421 -- history-search-{back,for}ward. |
|
422 -- try/catch. |
|
423 -- Other stuff mentioned in the NEWS file. |
|
424 |
|
425 * Improve the Texinfo Documentation for the interpreter. It would |
|
426 be useful to have lots more examples, to not have so many forward |
|
427 references, and to not have very many simple lists of functions. |
|
428 |
|
429 * The docs should mention something about efficiency and that using |
|
430 array operations is almost always a good idea for speed. |
|
431 |
|
432 * Texinfo documentation for the C++ classes. |
|
433 |
|
434 * Support multiple info files, perhaps allowing one or more in each |
|
435 directory in the LOADPATH, so that local collections of M-files |
|
436 could be documented with Info. |
|
437 |
|
438 * Figure out a good way to have functions and variables documented |
|
439 in only one place. |
|
440 |
|
441 * Improve help messages for operators and keywords in help.cc. |
|
442 |
|
443 * Make index entries more consistent to improve behavior of `help -i'. |
|
444 |
|
445 * Make `help -i' try to find a whole word match first. |
|
446 |
|
447 * Allow help for local additions to be accessible with help -i. |
|
448 |
|
449 * Make the arrow keys work in the info reader. |
|
450 |
|
451 * Update Info to be based on the current Texinfo release. |
|
452 |
2378
|
453 * Should info/terminal.c include definitions for PC, BC, UP, and |
|
454 ospeed on all systems? |
|
455 |
2330
|
456 * Clean up help stuff. |
|
457 |
|
458 * Demo files. |
|
459 |
|
460 * As the number of m-files with octave grows perhaps a 'Contents.m' |
|
461 file for each toolbox (directory) would be appropriate so one |
|
462 knows exactly what functions are in a toolbox with a quick look. |
|
463 It would be best to generate information for each function directly |
|
464 from the M-files, so that the information doesn't have to be |
|
465 duplicated, and will remain current if the M-files change. It |
|
466 would also be best to do as much of this as possible in an M-file, |
|
467 though I wouldn't mind adding some basic support for listing the |
|
468 names of all the directories in the LOADPATH, and the names of all |
|
469 the M-files in a given directory if that is needed. |
|
470 |
|
471 * Some sort of blurb (2-3 pages) describing Octave in a reasonably |
|
472 coherent way, where to get it etc., perhaps formatted pretty, |
|
473 i.e. not just text. Maybe start with the latest Announce file. |
|
474 |
|
475 ----- |
|
476 Tests: |
|
477 ----- |
|
478 |
|
479 * Improved set of tests: |
|
480 |
|
481 -- Tests for various functions. Would be nice to have a test file |
|
482 corresponding to every function. |
|
483 |
|
484 -- Tests for element by element operators: |
|
485 + - .* ./ .\ .^ | & < <= == >= > != ! |
|
486 |
|
487 -- Tests for boolean operators: && || |
|
488 |
|
489 -- Tests for other operators: * / \ ' .' |
|
490 |
|
491 -- Tests from bug reports. |
|
492 |
|
493 -- Tests for indexed assignment. Need to consider the following: |
|
494 o fortran-style indexing |
|
495 o zero-one indexing |
|
496 o assignment of empty matrix as well as values |
|
497 o resizing |
|
498 |
|
499 * Tests for all internal functions. |
|
500 |
|
501 ----------- |
|
502 Programming: |
|
503 ----------- |
|
504 |
|
505 * Move toward using more stuff from standard C++ library. |
|
506 |
|
507 * More C++/Fortran cleanups. |
|
508 |
|
509 * It is likely that there are still some memory leaks. Hunt then down |
|
510 and plug them. |
|
511 |
|
512 * Only include config.h in files that actually need it, instead of |
|
513 including it in every .cc file. Unfortunately, this might not be |
|
514 so easy to figure out. |
|
515 |
|
516 * GNU coding standards: |
|
517 |
|
518 -- Add a `Makefile' target to the Makefiles. |
|
519 -- Comments on #else and #endif preprocessor commands. |
|
520 -- Change error message format to match standards everywhere. |
|
521 |
|
522 * Use STL stuff instead of libg++ lists, maps, and stacks. |
|
523 |
|
524 * Eliminate more global variables. |
|
525 |
|
526 * Encapsulate readline in a class. Include interface to stuff like |
|
527 blink_matching_paren. |
|
528 |
|
529 * Encapsulate resource stuff in a class. |
|
530 |
|
531 * Move procstream to liboctave. |
|
532 |
|
533 * Replace more C-style vectors with Array<T> stuff. |
|
534 |
|
535 * Use references and classes in more places. |
|
536 |
|
537 * Share more code among the various *_options functions. |
|
538 |
|
539 ------------- |
|
540 Miscellaneous: |
|
541 ------------- |
|
542 |
|
543 * Implement some functions for interprocess communication: bind, |
|
544 accept, connect, gethostbyname, etc. |
|
545 |
2454
|
546 * The installation process should also install octave.el. This |
|
547 needs to detect the appropriate Emacs binary to use to |
|
548 byte-compile the .el file. Following GNU Emacs philosophy, |
|
549 installation would be into $(prefix)/share/emacs/site-lisp by |
|
550 default, but it should be selectable. |
|
551 |
2330
|
552 * The ability to transparently handle very large files: |
|
553 |
|
554 Juhana K Kouhia <kouhia@nic.funet.fi> wrote: |
|
555 |
|
556 If I have a one-dimensional signal data with the size 400 |
|
557 Mbytes, then what are my choices to operate with it: |
|
558 |
|
559 * I have to split the data |
|
560 * Octave has a virtual memory on its own and I don't have to |
|
561 worry about the splitting. |
|
562 |
|
563 If I split the data, then my easily programmed processing |
|
564 programs will become hard to program. |
|
565 |
|
566 If possible, I would like to have the virtual memory system in |
|
567 Octave i.e. the all big files, the user see as one big array or |
|
568 such. There could be several user selectable models to do the |
|
569 virtual memory depending on what kind of data the user have (1d, |
|
570 2d) and in what order they are processed (stream or random |
|
571 access). |
|
572 |
|
573 Perhaps this can be done entirely with a library of M-files. |
|
574 |
|
575 * Add a function like strptime() which is the opposite of |
|
576 strftime(). A C version is apparently in recent releases of the |
|
577 Linux C library. |
|
578 |
|
579 * Merge OS/2 changes. |
|
580 |
|
581 ------ |
|
582 Always: |
|
583 ------ |
|
584 |
|
585 * Squash bugs. |
|
586 |
|
587 --30-- |