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