annotate PROJECTS @ 5301:9302581b820d ss-2-9-2

[project @ 2005-04-22 17:08:07 by jwe]
author jwe
date Fri, 22 Apr 2005 17:09:11 +0000
parents 5bdc3f24cd5f
children 22994a5730f9
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 * Sparse Cholesky factorization for Fchol function and also for the
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
111 in built polymorphic solvers.
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
112
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
113 * 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
114 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
115
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
116 * Once dmperm is implemented, use the technique to detect permuted
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
117 triangular matrices. Test the permuted triangular matrix solver code
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
118
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
119 * Sparse inverse function, based on Andy's code from octave-forge.
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
120
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
121 * 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
122 brand implements.
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
123
5282
5bdc3f24cd5f [project @ 2005-04-14 22:17:26 by dbateman]
dbateman
parents: 5228
diff changeset
124 * 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
125 "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
126
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
127 * Write the rest of the sparse docs
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
128
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
129 * 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
130 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
131
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
132 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
133 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
134 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
135 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
136 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
137 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
138 to check issues.
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
139
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
140 * 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
141 elements? This allows something like
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
142
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
143 sm = spalloc (r,c,n)
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
144 for j=1:c
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
145 for i=1:r
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
146 tmp = foo (i,j);
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
147 if (tmp != 0.)
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
148 sm (i,j) = tmp;
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
149 endif
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
150 endfor
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
151 endfor
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
152
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
153 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
154 of memory reallocation.
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
155
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
156 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
157 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
158 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
159 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
160 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
161 functions...
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
162
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
163 * Port the sparse testing code into the DejaGNU testing code.
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
165 * Treat the dispatching of the splu, spdet, functions, etc within octave
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
166 itself. This either means that classes need implementing or at the
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
167 minimum the octave-forge dispatch function is implemented within octave
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
168
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
169 * Other missing Functions
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
170 - eigs
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
171 - dmperm Tim Davis is apparently working on something
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
172 - symmmd Superseded by symamd
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
173 - colmmd Superseded by colamd
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
174 - sprandsym
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
175 - symbfact
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
176 - etreeplot
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
177 - treeplot
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
178 - gplot
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
179 - treelayout
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
180 - cholinc
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
181 - condest
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
182 - normest
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
183 - bicg
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
184 - bicgstab
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
185 - cgs
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
186 - gmres
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
187 - lsqr
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
188 - minres
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
189 - 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
190 - 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
191 - qmr
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
192 - symmlq
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
193 - spaugment
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5041
diff changeset
194
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
195 --------
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
196 Graphics:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
197 --------
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
198
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
199 * Make plotting with plplot work.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
200
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
201 * 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
202 before octave returns a prompt. Possible by implementing two
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
203 way communication between gnuplot and Octave.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
204
3136
af7ec9d3a5e6 [project @ 1998-02-01 20:11:06 by jwe]
jwe
parents: 3130
diff changeset
205 * Handle gnuplot ranges correctly for parametric modes (accept 3
af7ec9d3a5e6 [project @ 1998-02-01 20:11:06 by jwe]
jwe
parents: 3130
diff changeset
206 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
207
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
208 * 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
209 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
210 with some user-specified template for naming them) and then
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
211 sending a `save' command to gnuplot.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
212
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
213 * 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
214 being displayed.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
215
2422
327f65b8ea0c [project @ 1996-10-18 20:22:17 by jwe]
jwe
parents: 2378
diff changeset
216 * 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
217 Matlab-compatible ways.
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
218
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
219 * Make it possible to check the current graphics terminal type.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
220
2560
6fa1ac46c980 [project @ 1996-12-03 17:49:38 by jwe]
jwe
parents: 2558
diff changeset
221 * 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
222
6fa1ac46c980 [project @ 1996-12-03 17:49:38 by jwe]
jwe
parents: 2558
diff changeset
223 * 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
224
2799
d77a29e4387f [project @ 1997-03-08 08:35:56 by jwe]
jwe
parents: 2789
diff changeset
225 * 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
226 `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
227
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
228 -------
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
229 Strings:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
230 -------
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
231
2789
e68dcf8ffd33 [project @ 1997-03-04 20:44:59 by jwe]
jwe
parents: 2787
diff changeset
232 * Improve performance of string functions, particularly for
e68dcf8ffd33 [project @ 1997-03-04 20:44:59 by jwe]
jwe
parents: 2787
diff changeset
233 searching and replacing.
e68dcf8ffd33 [project @ 1997-03-04 20:44:59 by jwe]
jwe
parents: 2787
diff changeset
234
e68dcf8ffd33 [project @ 1997-03-04 20:44:59 by jwe]
jwe
parents: 2787
diff changeset
235 * Provide some regex matching functions.
e68dcf8ffd33 [project @ 1997-03-04 20:44:59 by jwe]
jwe
parents: 2787
diff changeset
236
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
237 * Convert string functions to work on string arrays.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
238
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
239 * Make find work for strings.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
240
2378
6bea009cdae2 [project @ 1996-10-12 05:15:59 by jwe]
jwe
parents: 2330
diff changeset
241 * 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
242 representation for unprintable characters instead of sending them
6bea009cdae2 [project @ 1996-10-12 05:15:59 by jwe]
jwe
parents: 2330
diff changeset
243 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
244
6bea009cdae2 [project @ 1996-10-12 05:15:59 by jwe]
jwe
parents: 2330
diff changeset
245 * 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
246 to NUL.
6bea009cdae2 [project @ 1996-10-12 05:15:59 by jwe]
jwe
parents: 2330
diff changeset
247
2560
6fa1ac46c980 [project @ 1996-12-03 17:49:38 by jwe]
jwe
parents: 2558
diff changeset
248 * Consider making ["test", []] ==> "test", for compatibility with
6fa1ac46c980 [project @ 1996-12-03 17:49:38 by jwe]
jwe
parents: 2558
diff changeset
249 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
250
2330
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 Other Data Types:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
253 ----------------
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
254
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
255 * Template functions for mixed-type ops.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
256
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 Graphical User Interface:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
259 ------------------------
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 * 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
262 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
263 be Tk, as long as Tcl is avoided.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
264
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
265 * 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
266
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
267 ------------
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
268 Input/Output:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
269 ------------
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
270
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
271 * Make fread and fwrite work for complex data. Iostreams based
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
272 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
273 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
274 specifications (integer*2, etc.).
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
275
5008
c2bb27ada496 [project @ 2004-09-17 14:45:39 by jwe]
jwe
parents: 4452
diff changeset
276 * Make fread and fopen look in LOADPATH for files.
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
277
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
278 * 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
279
2799
d77a29e4387f [project @ 1997-03-08 08:35:56 by jwe]
jwe
parents: 2789
diff changeset
280 Potential sticky points:
d77a29e4387f [project @ 1997-03-08 08:35:56 by jwe]
jwe
parents: 2789
diff changeset
281
d77a29e4387f [project @ 1997-03-08 08:35:56 by jwe]
jwe
parents: 2789
diff changeset
282 - 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
283 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
284 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
285 -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
286 but the file foo does not.
d77a29e4387f [project @ 1997-03-08 08:35:56 by jwe]
jwe
parents: 2789
diff changeset
287
d77a29e4387f [project @ 1997-03-08 08:35:56 by jwe]
jwe
parents: 2789
diff changeset
288 - 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
289 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
290 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
291 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
292 compatible files.
d77a29e4387f [project @ 1997-03-08 08:35:56 by jwe]
jwe
parents: 2789
diff changeset
293
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
294 * Move some pr-output stuff to liboctave.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
295
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
296 * Make the cutoff point for changing to packed storage a
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
297 user-preference variable with default value 8192.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
298
2378
6bea009cdae2 [project @ 1996-10-12 05:15:59 by jwe]
jwe
parents: 2330
diff changeset
299 * 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
300 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
301 these formats from others.)
6bea009cdae2 [project @ 1996-10-12 05:15:59 by jwe]
jwe
parents: 2330
diff changeset
302
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
303 * 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
304 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
305 writing data).
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
306
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
307 * Make it possible to tie arbitrary input and output streams
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
308 together, similar to the way iostreams can be tied together.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
309
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
310 -----------
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
311 Interpreter:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
312 -----------
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
313
3162
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3141
diff changeset
314 * Allow customization of the debug prompt.
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3141
diff changeset
315
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3141
diff changeset
316 * For the keyboard function, parse return (or quit) more
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3141
diff changeset
317 intelligently so that something like
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3141
diff changeset
318
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3141
diff changeset
319 debug> x = 1; return
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3141
diff changeset
320
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3141
diff changeset
321 will work as expected.
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3141
diff changeset
322
5008
c2bb27ada496 [project @ 2004-09-17 14:45:39 by jwe]
jwe
parents: 4452
diff changeset
323 * 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
324
2601
3723512a827a [project @ 1997-01-06 05:43:16 by jwe]
jwe
parents: 2575
diff changeset
325 * Fix the parser so that
3723512a827a [project @ 1997-01-06 05:43:16 by jwe]
jwe
parents: 2575
diff changeset
326
3081
8c779ed7979b [project @ 1997-08-25 15:51:20 by jwe]
jwe
parents: 3069
diff changeset
327 if (expr) 'this is a string' end
8c779ed7979b [project @ 1997-08-25 15:51:20 by jwe]
jwe
parents: 3069
diff changeset
328
8c779ed7979b [project @ 1997-08-25 15:51:20 by jwe]
jwe
parents: 3069
diff changeset
329 is parsed as IF expr STRING END.
8c779ed7979b [project @ 1997-08-25 15:51:20 by jwe]
jwe
parents: 3069
diff changeset
330
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
331 * Consider grouping all preference variables in a structure instead
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
332 of further polluting the namespace. Maybe `Octave_options.xxx'?
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
333
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
334 * 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
335 of using readline, forced interactive behavior, echoing of input,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
336 etc.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
337
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
338 * Consider making linspace() and logspace() return the value
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
339 corresponding to the first argument if the number of requested
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
340 points is 1.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
341
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
342 * 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
343 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
344 string that can currently be added with `document'.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
345
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
346 * 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
347 variables (--echo-commands, etc.).
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
348
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
349 * Allow `octave -c STRING' to execute commands from STRING then
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
350 exit.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
351
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
352 * Make the interpreter run faster.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
353
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
354 * 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
355 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
356 structure variable.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
357
2378
6bea009cdae2 [project @ 1996-10-12 05:15:59 by jwe]
jwe
parents: 2330
diff changeset
358 * 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
359 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
360 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
361 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
362 warning.
6bea009cdae2 [project @ 1996-10-12 05:15:59 by jwe]
jwe
parents: 2330
diff changeset
363
4325
f30803e587ac [project @ 2003-02-15 04:54:57 by jwe]
jwe
parents: 3759
diff changeset
364 * Allow arbitrary lower bounds for array indexing.
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
365
4325
f30803e587ac [project @ 2003-02-15 04:54:57 by jwe]
jwe
parents: 3759
diff changeset
366 * Improve performance of recursive function calls.
2330
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 * 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
369 selecting by individual directories or functions.
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
370
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
371 * 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
372 checking and not execute statements.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
373
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
374 * 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
375 the tree_constant class.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
376
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
377 * Clean up symtab and variable stuff.
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 * Input stream class for parser files -- must manage buffers for
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
380 flex and context for global variable settings.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
381
3162
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3141
diff changeset
382 * 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
383 compiling functions, etc.
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3141
diff changeset
384
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
385 * 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
386 parse_error() to print?
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 * 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
389
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
390 alias fun function_with_a_very_long_name
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
391
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
392 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
393 `fun'.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
394
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
395 * 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
396
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
397 * 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
398 is currently possible with unwind_protect. For example,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
399
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
400 function f ()
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
401 local 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 endfunction
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
404
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
405 would be equivalent to
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
406
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
407 function f ()
3758
a816be1d1626 [project @ 2000-12-15 19:47:29 by jwe]
jwe
parents: 3713
diff changeset
408 save_prefer_column_vectors = prefer_column_vectors;
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
409 unwind_protect
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
410 prefer_column_vectors = something;
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
411 ...
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
412 unwind_protect_cleanup
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
413 prefer_column_vectors = save_prefer_column_vectors;
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
414 end_unwind_protect
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
415 endfunction
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
416
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
417 * 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
418 types of input arguments, wrong number of output arguments).
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
419
2789
e68dcf8ffd33 [project @ 1997-03-04 20:44:59 by jwe]
jwe
parents: 2787
diff changeset
420 * 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
421 lists.
e68dcf8ffd33 [project @ 1997-03-04 20:44:59 by jwe]
jwe
parents: 2787
diff changeset
422
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
423 * Handle options for built-in functions more consistently.
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 * 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
426 done to improve performance?
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
427
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
428 * 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
429 make it look better.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
430
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
431 * 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
432 passed through the pager.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
433
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
434 * Attempt to recognize common subexpressions in the parser.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
435
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
436 * Handle arrays with more than two dimensions.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
437
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
438 * 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
439 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
440 must be zero...
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 * Is Matrix::fortran_vec() really necessary?
2862
95e85daad148 [project @ 1997-04-15 22:00:57 by jwe]
jwe
parents: 2848
diff changeset
443
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
444 * print_usage() should set error_state in most cases?
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
445
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
446 * Add a command that works like bash's `builtin' command.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
447
3758
a816be1d1626 [project @ 2000-12-15 19:47:29 by jwe]
jwe
parents: 3713
diff changeset
448 * 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
449 the type command.
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
450
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
451 * Clean up eye, eval, feval, keyboard, input, ones, zeros.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
452
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
453 * It would be nice to have an interactive debugger.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
454
2378
6bea009cdae2 [project @ 1996-10-12 05:15:59 by jwe]
jwe
parents: 2330
diff changeset
455 * 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
456
2746
c51575839b21 [project @ 1997-02-26 08:22:45 by jwe]
jwe
parents: 2702
diff changeset
457 * 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
458 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
459 whos as M-files.
2439
dc870b8b229f [project @ 1996-10-30 07:57:31 by jwe]
jwe
parents: 2422
diff changeset
460
3125
dcc6c985d72d [project @ 1998-01-16 05:08:21 by jwe]
jwe
parents: 3105
diff changeset
461 * Make whos work for structure elements:
dcc6c985d72d [project @ 1998-01-16 05:08:21 by jwe]
jwe
parents: 3105
diff changeset
462
dcc6c985d72d [project @ 1998-01-16 05:08:21 by jwe]
jwe
parents: 3105
diff changeset
463 prot type rows cols name
dcc6c985d72d [project @ 1998-01-16 05:08:21 by jwe]
jwe
parents: 3105
diff changeset
464 ==== ==== ==== ==== ====
4325
f30803e587ac [project @ 2003-02-15 04:54:57 by jwe]
jwe
parents: 3759
diff changeset
465 wd matrix m n struct.field
3125
dcc6c985d72d [project @ 1998-01-16 05:08:21 by jwe]
jwe
parents: 3105
diff changeset
466
3249
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3174
diff changeset
467 * 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
468
2799
d77a29e4387f [project @ 1997-03-08 08:35:56 by jwe]
jwe
parents: 2789
diff changeset
469 * 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
470 enable the printing of warning messages.
d77a29e4387f [project @ 1997-03-08 08:35:56 by jwe]
jwe
parents: 2789
diff changeset
471
2862
95e85daad148 [project @ 1997-04-15 22:00:57 by jwe]
jwe
parents: 2848
diff changeset
472 * 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
473
3060
9c6cd52f3f5a [project @ 1997-06-25 18:30:40 by jwe]
jwe
parents: 3059
diff changeset
474 * 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
475 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
476 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
477 arguments because there is a significant overhead for function
9c6cd52f3f5a [project @ 1997-06-25 18:30:40 by jwe]
jwe
parents: 3059
diff changeset
478 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
479 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
480 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
481 as possible.
9c6cd52f3f5a [project @ 1997-06-25 18:30:40 by jwe]
jwe
parents: 3059
diff changeset
482
3092
4bb976b250bf [project @ 1997-10-17 07:48:48 by jwe]
jwe
parents: 3081
diff changeset
483 * 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
484 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
485 generating a second copy of the data.
4bb976b250bf [project @ 1997-10-17 07:48:48 by jwe]
jwe
parents: 3081
diff changeset
486
5228
189fe4f85c77 [project @ 2005-03-21 20:25:39 by jwe]
jwe
parents: 5164
diff changeset
487 * 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
488 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
489
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
490 -------
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
491 History:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
492 -------
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
493
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
494 * 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
495 history list.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
496
3092
4bb976b250bf [project @ 1997-10-17 07:48:48 by jwe]
jwe
parents: 3081
diff changeset
497 * The history command should accept two numeric arguments to
4bb976b250bf [project @ 1997-10-17 07:48:48 by jwe]
jwe
parents: 3081
diff changeset
498 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
499
2862
95e85daad148 [project @ 1997-04-15 22:00:57 by jwe]
jwe
parents: 2848
diff changeset
500 * 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
501 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
502 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
503 be able to control the format).
95e85daad148 [project @ 1997-04-15 22:00:57 by jwe]
jwe
parents: 2848
diff changeset
504
5026
06f7ff1aee5a [project @ 2004-09-23 01:04:32 by jwe]
jwe
parents: 5008
diff changeset
505 * 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
506 changed.
06f7ff1aee5a [project @ 2004-09-23 01:04:32 by jwe]
jwe
parents: 5008
diff changeset
507
06f7ff1aee5a [project @ 2004-09-23 01:04:32 by jwe]
jwe
parents: 5008
diff changeset
508 * 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
509 writing.
06f7ff1aee5a [project @ 2004-09-23 01:04:32 by jwe]
jwe
parents: 5008
diff changeset
510
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
511 * Fix history problems -- core dump if multiple processes are
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
512 writing to the same history file?
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
513
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
514 ------------------------------
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
515 Configuration and Installation:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
516 ------------------------------
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
517
2473
bb0c213e5885 [project @ 1996-11-06 04:34:55 by jwe]
jwe
parents: 2469
diff changeset
518 * 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
519 to configure and run without kpathsea.
bb0c213e5885 [project @ 1996-11-06 04:34:55 by jwe]
jwe
parents: 2469
diff changeset
520
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
521 * Makefile changes:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
522 -- eliminate for loops
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
523 -- define shell commands or eliminate them
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
524 -- verify distclean
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
525 -- consolidate targets
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 * Make it possible to configure so that installed binaries and
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
528 shared libraries are stripped.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
529
3069
db6d57d718f7 [project @ 1997-07-10 23:34:03 by jwe]
jwe
parents: 3060
diff changeset
530 * Create a docs-only distribution?
db6d57d718f7 [project @ 1997-07-10 23:34:03 by jwe]
jwe
parents: 3060
diff changeset
531
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
532 ------------------------------
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
533 Documentation and On-Line Help:
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
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
536 * Document new features.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
537 -- history-search-{back,for}ward.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
538 -- Other stuff mentioned in the NEWS file.
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 * Improve the Texinfo Documentation for the interpreter. It would
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
541 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
542 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
543
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
544 * The docs should mention something about efficiency and that using
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
545 array operations is almost always a good idea for speed.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
546
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
547 * Texinfo documentation for the C++ classes.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
548
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
549 * 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
550 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
551 could be documented with Info.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
552
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
553 * Improve help messages for operators and keywords in help.cc.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
554
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
555 * 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
556
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
557 * 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
558
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
559 * 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
560
3130
02766207b74c [project @ 1998-01-25 08:27:23 by jwe]
jwe
parents: 3125
diff changeset
561 * Clean up help stuff.
02766207b74c [project @ 1998-01-25 08:27:23 by jwe]
jwe
parents: 3125
diff changeset
562
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
563 * Demo files.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
564
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
565 * 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
566 file for each toolbox (directory) would be appropriate so one
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
567 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
568 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
569 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
570 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
571 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
572 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
573 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
574 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
575
2787
650ab15f8954 [project @ 1997-03-03 21:42:25 by jwe]
jwe
parents: 2777
diff changeset
576 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
577
650ab15f8954 [project @ 1997-03-03 21:42:25 by jwe]
jwe
parents: 2777
diff changeset
578 help dir -- Contents from dir
650ab15f8954 [project @ 1997-03-03 21:42:25 by jwe]
jwe
parents: 2777
diff changeset
579 help dir// -- Contents from dir and all its subdirectories
650ab15f8954 [project @ 1997-03-03 21:42:25 by jwe]
jwe
parents: 2777
diff changeset
580 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
581
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
582 * 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
583 coherent way, where to get it etc., perhaps formatted pretty,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
584 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
585
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
586 -----
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
587 Tests:
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
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
590 * Improved set of tests:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
591
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
592 -- 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
593 corresponding to every function.
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 element by element operators:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
596 + - .* ./ .\ .^ | & < <= == >= > != !
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
597
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
598 -- Tests for boolean operators: && ||
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
599
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
600 -- Tests for other operators: * / \ ' .'
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
601
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
602 -- Tests from bug reports.
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 -- Tests for indexed assignment. Need to consider the following:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
605 o fortran-style indexing
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
606 o zero-one indexing
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
607 o assignment of empty matrix as well as values
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
608 o resizing
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
609
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
610 * Tests for all internal functions.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
611
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
612 -----------
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
613 Programming:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
614 -----------
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
615
2475
1d7925d6bede [project @ 1996-11-07 04:36:00 by jwe]
jwe
parents: 2473
diff changeset
616 * Better error messages for missing operators?
1d7925d6bede [project @ 1996-11-07 04:36:00 by jwe]
jwe
parents: 2473
diff changeset
617
1d7925d6bede [project @ 1996-11-07 04:36:00 by jwe]
jwe
parents: 2473
diff changeset
618 * 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
619
1d7925d6bede [project @ 1996-11-07 04:36:00 by jwe]
jwe
parents: 2473
diff changeset
620 * 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
621 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
622 for the underlying classes.
1d7925d6bede [project @ 1996-11-07 04:36:00 by jwe]
jwe
parents: 2473
diff changeset
623
1d7925d6bede [project @ 1996-11-07 04:36:00 by jwe]
jwe
parents: 2473
diff changeset
624 * 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
625 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
626 do the right thing in more cases.
1d7925d6bede [project @ 1996-11-07 04:36:00 by jwe]
jwe
parents: 2473
diff changeset
627
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
628 * 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
629 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
630 so easy to figure out.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
631
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
632 * GNU coding standards:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
633
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
634 -- Add a `Makefile' target to the Makefiles.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
635 -- Comments on #else and #endif preprocessor commands.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
636 -- Change error message format to match standards everywhere.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
637
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
638 * Use STL stuff instead of libg++ lists, maps, and stacks.
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 * Eliminate more global variables.
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 * Move procstream to liboctave.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
643
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
644 * Use references and classes in more places.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
645
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
646 * Share more code among the various *_options functions.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
647
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
648 -------------
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
649 Miscellaneous:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
650 -------------
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
651
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
652 * Implement some functions for interprocess communication: bind,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
653 accept, connect, gethostbyname, etc.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
654
2454
8d5c4ec28e19 [project @ 1996-11-01 07:43:54 by jwe]
jwe
parents: 2439
diff changeset
655 * The installation process should also install octave.el. This
8d5c4ec28e19 [project @ 1996-11-01 07:43:54 by jwe]
jwe
parents: 2439
diff changeset
656 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
657 byte-compile the .el file. Following GNU Emacs philosophy,
8d5c4ec28e19 [project @ 1996-11-01 07:43:54 by jwe]
jwe
parents: 2439
diff changeset
658 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
659 default, but it should be selectable.
8d5c4ec28e19 [project @ 1996-11-01 07:43:54 by jwe]
jwe
parents: 2439
diff changeset
660
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
661 * The ability to transparently handle very large files:
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 Juhana K Kouhia <kouhia@nic.funet.fi> wrote:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
664
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
665 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
666 Mbytes, then what are my choices to operate with it:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
667
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
668 * I have to split the data
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
669 * 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
670 worry about the splitting.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
671
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
672 If I split the data, then my easily programmed processing
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
673 programs will become hard to program.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
674
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
675 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
676 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
677 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
678 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
679 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
680 access).
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
681
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
682 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
683
3136
af7ec9d3a5e6 [project @ 1998-02-01 20:11:06 by jwe]
jwe
parents: 3130
diff changeset
684 * An interface to gdb.
af7ec9d3a5e6 [project @ 1998-02-01 20:11:06 by jwe]
jwe
parents: 3130
diff changeset
685
af7ec9d3a5e6 [project @ 1998-02-01 20:11:06 by jwe]
jwe
parents: 3130
diff changeset
686 Michael Smolsky <fnsiguc@weizmann.weizmann.ac.il> wrote:
af7ec9d3a5e6 [project @ 1998-02-01 20:11:06 by jwe]
jwe
parents: 3130
diff changeset
687
af7ec9d3a5e6 [project @ 1998-02-01 20:11:06 by jwe]
jwe
parents: 3130
diff changeset
688 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
689 in my numerical simulation work. It is an interconnection
af7ec9d3a5e6 [project @ 1998-02-01 20:11:06 by jwe]
jwe
parents: 3130
diff changeset
690 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
691 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
692 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
693 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
694 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
695 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
696 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
697 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
698 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
699 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
700 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
701 with a convenient matlab/octave syntax, similar to
af7ec9d3a5e6 [project @ 1998-02-01 20:11:06 by jwe]
jwe
parents: 3130
diff changeset
702 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
703 memory of my c code.
af7ec9d3a5e6 [project @ 1998-02-01 20:11:06 by jwe]
jwe
parents: 3130
diff changeset
704
2789
e68dcf8ffd33 [project @ 1997-03-04 20:44:59 by jwe]
jwe
parents: 2787
diff changeset
705 * 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
706 (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
707 information about lgrind.)
e68dcf8ffd33 [project @ 1997-03-04 20:44:59 by jwe]
jwe
parents: 2787
diff changeset
708
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
709 ------
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
710 Always:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
711 ------
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
712
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
713 * Squash bugs.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
714
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
715 --30--
3162
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3141
diff changeset
716 </pre>
7c96e85c76db [project @ 1998-04-08 18:19:35 by jwe]
jwe
parents: 3141
diff changeset
717 </html>