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