annotate PROJECTS @ 5540:cda6a105ae9a before-ov-branch

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