annotate NEWS @ 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 e461b8ed7c4d
children faafc2d98b8d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3035
882b6ea36be6 [project @ 1997-06-05 21:35:44 by jwe]
jwe
parents: 2993
diff changeset
1 Summary of changes for version 2.1.x:
2993
91589ab98e37 [project @ 1997-05-21 21:44:54 by jwe]
jwe
parents: 2983
diff changeset
2 ------------------------------------
91589ab98e37 [project @ 1997-05-21 21:44:54 by jwe]
jwe
parents: 2983
diff changeset
3
3482
e461b8ed7c4d [project @ 2000-01-26 07:25:56 by jwe]
jwe
parents: 3273
diff changeset
4 * Given a matrix, X, and a boolean index, idx, of the same shape as
e461b8ed7c4d [project @ 2000-01-26 07:25:56 by jwe]
jwe
parents: 3273
diff changeset
5 X, X(idx) and X(idx) = RHS now work no matter what the value of
e461b8ed7c4d [project @ 2000-01-26 07:25:56 by jwe]
jwe
parents: 3273
diff changeset
6 do_fortran_indexing is.
e461b8ed7c4d [project @ 2000-01-26 07:25:56 by jwe]
jwe
parents: 3273
diff changeset
7
3273
eb27ea9b7ff8 [project @ 1999-10-12 02:22:25 by jwe]
jwe
parents: 3249
diff changeset
8 * If you are using GNU Emacs 19.34 or earlier, you will need to add
eb27ea9b7ff8 [project @ 1999-10-12 02:22:25 by jwe]
jwe
parents: 3249
diff changeset
9 the following code to your ~/.emacs file in order to use Emacs
eb27ea9b7ff8 [project @ 1999-10-12 02:22:25 by jwe]
jwe
parents: 3249
diff changeset
10 Octave mode:
eb27ea9b7ff8 [project @ 1999-10-12 02:22:25 by jwe]
jwe
parents: 3249
diff changeset
11
eb27ea9b7ff8 [project @ 1999-10-12 02:22:25 by jwe]
jwe
parents: 3249
diff changeset
12 ;; Set up the custom library.
eb27ea9b7ff8 [project @ 1999-10-12 02:22:25 by jwe]
jwe
parents: 3249
diff changeset
13 ;; taken from http://www.dina.kvl.dk/~abraham/custom/
eb27ea9b7ff8 [project @ 1999-10-12 02:22:25 by jwe]
jwe
parents: 3249
diff changeset
14 (eval-and-compile
eb27ea9b7ff8 [project @ 1999-10-12 02:22:25 by jwe]
jwe
parents: 3249
diff changeset
15 (condition-case ()
eb27ea9b7ff8 [project @ 1999-10-12 02:22:25 by jwe]
jwe
parents: 3249
diff changeset
16 (require 'custom)
eb27ea9b7ff8 [project @ 1999-10-12 02:22:25 by jwe]
jwe
parents: 3249
diff changeset
17 (error nil))
eb27ea9b7ff8 [project @ 1999-10-12 02:22:25 by jwe]
jwe
parents: 3249
diff changeset
18 (if (and (featurep 'custom) (fboundp 'custom-declare-variable))
eb27ea9b7ff8 [project @ 1999-10-12 02:22:25 by jwe]
jwe
parents: 3249
diff changeset
19 nil ;; We've got what we needed
eb27ea9b7ff8 [project @ 1999-10-12 02:22:25 by jwe]
jwe
parents: 3249
diff changeset
20 ;; We have the old custom-library, hack around it!
eb27ea9b7ff8 [project @ 1999-10-12 02:22:25 by jwe]
jwe
parents: 3249
diff changeset
21 (defmacro defgroup (&rest args)
eb27ea9b7ff8 [project @ 1999-10-12 02:22:25 by jwe]
jwe
parents: 3249
diff changeset
22 nil)
eb27ea9b7ff8 [project @ 1999-10-12 02:22:25 by jwe]
jwe
parents: 3249
diff changeset
23 (defmacro defcustom (var value doc &rest args)
eb27ea9b7ff8 [project @ 1999-10-12 02:22:25 by jwe]
jwe
parents: 3249
diff changeset
24 (` (defvar (, var) (, value) (, doc))))))
eb27ea9b7ff8 [project @ 1999-10-12 02:22:25 by jwe]
jwe
parents: 3249
diff changeset
25
3249
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3243
diff changeset
26 * When `format +' is in effect, Octave uses the following symbols to
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3243
diff changeset
27 provide more information about the values in a matrix:
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3243
diff changeset
28
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3243
diff changeset
29 + postive real
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3243
diff changeset
30 - negative real
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3243
diff changeset
31 i pure imaginary
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3243
diff changeset
32 c complex
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3243
diff changeset
33 blank zero
60866c521b92 [project @ 1999-07-13 03:44:16 by jwe]
jwe
parents: 3243
diff changeset
34
3205
549691faa638 [project @ 1998-10-31 04:20:15 by jwe]
jwe
parents: 3202
diff changeset
35 * The ++ and -- operators now work for indexed matrices, and the
549691faa638 [project @ 1998-10-31 04:20:15 by jwe]
jwe
parents: 3202
diff changeset
36 following operators now work:
549691faa638 [project @ 1998-10-31 04:20:15 by jwe]
jwe
parents: 3202
diff changeset
37
549691faa638 [project @ 1998-10-31 04:20:15 by jwe]
jwe
parents: 3202
diff changeset
38 +=, -=, *=, /=, \=, <<=, >>=, .*=, ./=, .\=, &=, |=
549691faa638 [project @ 1998-10-31 04:20:15 by jwe]
jwe
parents: 3202
diff changeset
39
549691faa638 [project @ 1998-10-31 04:20:15 by jwe]
jwe
parents: 3202
diff changeset
40 These operators are currently implemented using a relatively
549691faa638 [project @ 1998-10-31 04:20:15 by jwe]
jwe
parents: 3202
diff changeset
41 inefficient brute-force method but hey, they work.
549691faa638 [project @ 1998-10-31 04:20:15 by jwe]
jwe
parents: 3202
diff changeset
42
3196
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
43 * The built-in variable argv is now a list of strings instead of a
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
44 string vector.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
45
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
46 * The value of LOADPATH set by the environment variable
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
47 OCTAVE_PATH, the -p or --path command line options, or on the
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
48 command line is no longer modified to include the default path.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
49 Instead it is left as specified. Its default value is now ":",
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
50 which tells Octave to search the default path, and the new
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
51 built-in variable DEFAULT_LOADPATH contains the default list of
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
52 directories to search.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
53
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
54 * The function file_in_path no longer does any special processing of
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
55 its PATH argument. To search LOADPATH for files, it is now
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
56 generally better to use the new function file_in_loadpath.
3ac3e8edc258 [project @ 1998-10-28 23:04:39 by jwe]
jwe
parents: 3192
diff changeset
57
3180
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3174
diff changeset
58 * If fread is given a skip parameter, the skip is performed after
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3174
diff changeset
59 the read instead of before (for compatibility with Matlab).
c17387059fd3 [project @ 1998-09-24 18:59:11 by jwe]
jwe
parents: 3174
diff changeset
60
3189
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3180
diff changeset
61 * The new built-in variable `crash_dumps_octave_core' controls
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3180
diff changeset
62 whether Octave writes user variables to the file `octave-core'
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3180
diff changeset
63 when it crashes or is killed by a signal. The default value is 1
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3180
diff changeset
64 (0 if you use --traditional).
bef7b73c0724 [project @ 1998-10-16 18:05:26 by jwe]
jwe
parents: 3180
diff changeset
65
3192
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
66 * If LOADPATH contains a doubled colon, the default path is inserted
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
67 in its place. This is similar to the substitution that also takes
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
68 place for leading or trailing colons in the LOADPATH.
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
69
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
70 * Loops of the form `for i = STRING ... endfor' are now allowed.
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
71
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
72 * It is now possible to set the iteration limit for lsode using
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
73 lsode_options ("step limit", N).
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
74
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
75 * New functions:
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
76
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
77 is_complex -- tell whether a variable is complex
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
78 rehash -- re-initialize the cache of directories in LOADPATH
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
79 graw -- send a string to the gnuplot subprocess
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
80
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
81 * New functions from Kurt Hornik's Octave-ci package:
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
82
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
83 In finance (new directory):
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
84
3202
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
85 fv -- future value of an investment
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
86 fvl -- future value of an initial lump sum investment
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
87 irr -- internal rate of return of an investment
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
88 nper -- number of payments needed for amortizing a loan
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
89 npv -- net present value of a series of payments
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
90 pmt -- amount of periodic payment needed to amortize a loan
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
91 pv -- present value of an investment
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
92 pvl -- present value of an investment that pays off at the end
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
93 rate -- rate of return of an investment
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
94 vol -- volatility of financial time series data
3192
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
95
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
96 In linear-algebra:
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
97
3202
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
98 dmult -- rescale the rows of a matrix
3192
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
99
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
100 In signal:
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
101
3202
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
102 arch_fit -- fit an ARCH regression model
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
103 arch_rnd -- simulate an ARCH process
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
104 arch_test -- test for conditional heteroscedascity
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
105 arma_rnd -- simulate an ARMA process
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
106 autocor -- compute autocorrelations
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
107 autocov -- compute autocovariances
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
108 autoreg_matrix -- design matrix for autoregressions
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
109 bartlett -- coefficients of the Bartlett (triangular) window
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
110 blackman -- coefficients of the Blackman window
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
111 diffpara -- estimate the fractional differencing parameter
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
112 durbinlevinson -- perform one step of the Durbin-Levinson algorithm
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
113 fractdiff -- compute fractional differences
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
114 hamming -- coefficients of the Hamming window
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
115 hanning -- coefficients of the Hanning window
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
116 hurst -- estimate the Hurst parameter
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
117 periodogram -- compute the periodogram
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
118 rectangle_lw -- rectangular lag window
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
119 rectangle_sw -- rectangular spectral window
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
120 sinetone -- compute a sine tone
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
121 sinewave -- compute a sine wave
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
122 spectral_adf -- spectral density estimation
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
123 spectral_xdf -- spectral density estimation
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
124 spencer -- apply Spencer's 15-point MA filter
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
125 stft -- short-term Fourier transform
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
126 synthesis -- recover a signal from its short-term Fourier transform
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
127 triangle_lw -- triangular lag window
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
128 triangle_sw -- triangular spectral window
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
129 yulewalker -- fit AR model by Yule-Walker method
3192
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
130
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
131 In statistics/base (new directory):
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
132
3202
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
133 center -- center by subtracting means
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
134 cloglog -- complementary log-log function
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
135 cor -- compute correlations
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
136 cov -- compute covariances
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
137 cut -- cut data into intervals
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
138 iqr -- interquartile range
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
139 kendall -- kendall's rank correlation tau
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
140 logit -- logit transformation
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
141 mean -- compute arithmetic, geometric, and harmonic mean
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
142 meansq -- compute mean square
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
143 moment -- compute moments
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
144 ppplot -- perform a PP-plot (probability plot)
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
145 probit -- probit transformation
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
146 qqplot -- perform a QQ-plot (quantile plot)
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
147 range -- compute range
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
148 ranks -- compute ranks
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
149 run_count -- count upward runs
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
150 spearman -- spearman's rank correlation rho
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
151 statistics -- compute basic statistics
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
152 studentize -- subtract mean and divide by standard deviation
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
153 table -- cross tabulation
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
154 values -- extract unique elements
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
155 var -- compute variance
3192
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
156
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
157 In statistics/distributions (new directory):
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
158
3202
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
159 beta_cdf -- CDF of the Beta distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
160 beta_inv -- Quantile function of the Beta distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
161 beta_pdf -- PDF of the Beta distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
162 beta_rnd -- Random deviates from the Beta distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
163
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
164 binomial_cdf -- CDF of the binomial distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
165 binomial_inv -- Quantile function of the binomial distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
166 binomial_pdf -- PDF of the binomial distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
167 binomial_rnd -- Random deviates from the binomial distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
168
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
169 cauchy_cdf -- CDF of the Cauchy distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
170 cauchy_inv -- Quantile function of the Cauchy distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
171 cauchy_pdf -- PDF of the Cauchy distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
172 cauchy_rnd -- Random deviates from the Cauchy distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
173
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
174 chisquare_cdf -- CDF of the chi-square distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
175 chisquare_inv -- Quantile function of the chi-square distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
176 chisquare_pdf -- PDF of the chi-sqaure distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
177 chisquare_rnd -- Random deviates from the chi-square distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
178
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
179 discrete_cdf -- CDF of a discrete distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
180 discrete_inv -- Quantile function of a discrete distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
181 discrete_pdf -- PDF of a discrete distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
182 discrete_rnd -- Random deviates from a discrete distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
183
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
184 empirical_cdf -- CDF of the empirical distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
185 empirical_inv -- Quantile function of the empirical distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
186 empirical_pdf -- PDF of the empirical distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
187 empirical_rnd -- Bootstrap samples from the empirical distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
188
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
189 exponential_cdf -- CDF of the exponential distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
190 exponential_inv -- Quantile function of the exponential distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
191 exponential_pdf -- PDF of the exponential distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
192 exponential_rnd -- Random deviates from the exponential distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
193
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
194 f_cdf -- CDF of the F distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
195 f_inv -- Quantile function of the F distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
196 f_pdf -- PDF of the F distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
197 f_rnd -- Random deviates from the F distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
198
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
199 gamma_cdf -- CDF of the Gamma distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
200 gamma_inv -- Quantile function of the Gamma distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
201 gamma_pdf -- PDF of the Gamma distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
202 gamma_rnd -- Random deviates from the Gamma distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
203
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
204 geometric_cdf -- CDF of the geometric distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
205 geometric_inv -- Quantile function of the geometric distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
206 geometric_pdf -- PDF of the geometric distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
207 geometric_rnd -- Random deviates from the geometric distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
208
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
209 hypergeometric_cdf -- CDF of the hypergeometric distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
210 hypergeometric_inv -- Random deviates from hypergeometric distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
211 hypergeometric_pdf -- PDF of the hypergeometric distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
212 hypergeometric_rnd -- Random deviates from hypergeometric distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
213
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
214 kolmogorov_smirnov_cdf -- CDF of the Kolmogorov-Smirnov distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
215
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
216 laplace_cdf -- CDF of the Laplace distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
217 laplace_inv -- Quantile function of the Laplace distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
218 laplace_pdf -- PDF of the Laplace distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
219 laplace_rnd -- Random deviates from the Laplace distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
220
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
221 logistic_cdf -- CDF of the logistic distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
222 logistic_inv -- Quantile function of the logistic distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
223 logistic_pdf -- PDF of the logistic distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
224 logistic_rnd -- Random deviates from the logistic distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
225
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
226 lognormal_cdf -- CDF of the log normal distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
227 lognormal_inv -- Quantile function of the log normal distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
228 lognormal_pdf -- PDF of the log normal distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
229 lognormal_rnd -- Random deviates from the log normal distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
230
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
231 normal_cdf -- CDF of the normal distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
232 normal_inv -- Quantile function of the normal distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
233 normal_pdf -- PDF of the normal distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
234 normal_rnd -- Random deviates from the normal distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
235
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
236 pascal_cdf -- CDF of the Pascal (negative binomial) distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
237 pascal_inv -- Quantile function of the Pascal distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
238 pascal_pdf -- PDF of the Pascal (negative binomial) distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
239 pascal_rnd -- Random deviates from the Pascal distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
240
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
241 poisson_cdf -- CDF of the Poisson distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
242 poisson_inv -- Quantile function of the Poisson distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
243 poisson_pdf -- PDF of the Poisson distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
244 poisson_rnd -- Random deviates from the Poisson distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
245
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
246 stdnormal_cdf -- CDF of the standard normal distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
247 stdnormal_inv -- Quantile function of standard normal distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
248 stdnormal_pdf -- PDF of the standard normal distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
249 stdnormal_rnd -- Random deviates from standard normal distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
250
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
251 t_cdf -- CDF of the t distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
252 t_inv -- Quantile function of the t distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
253 t_pdf -- PDF of the t distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
254 t_rnd -- Random deviates from the t distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
255
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
256 uniform_cdf -- CDF of the uniform distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
257 uniform_inv -- Quantile function of the uniform distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
258 uniform_pdf -- PDF of the uniform distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
259 uniform_rnd -- Random deviates from the uniform distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
260
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
261 weibull_cdf -- CDF of the Weibull distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
262 weibull_inv -- Quantile function of the Weibull distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
263 weibull_pdf -- PDF of the Weibull distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
264 weibull_rnd -- Random deviates from the Weibull distribution
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
265
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
266 wiener_rnd -- Simulate a Wiener process
3192
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
267
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
268 In statistics/models (new directory):
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
269
3202
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
270 logistic_regression -- ordinal logistic regression
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
271 logistic_regression_derivatives -- derivates of log-likelihood
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
272 in logistic regression
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
273 logistic_regression_likelihood -- likelihood in logistic regression
3192
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
274
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
275 In statistics/tests (new directory):
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
276
3202
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
277 anova -- one-way analysis of variance
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
278 bartlett_test -- bartlett test for homogeneity of variances
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
279 chisquare_test_homogeneity -- chi-square test for homogeneity
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
280 chisquare_test_independence -- chi-square test for independence
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
281 cor_test -- test for zero correlation
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
282 f_test_regression -- test linear hypotheses in linear
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
283 regression model
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
284 hotelling_test -- test for mean of a multivariate normal
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
285 hotelling_test_2 -- compare means of two multivariate normals
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
286 kolmogorov_smirnov_test -- one-sample Kolmogorov-Smirnov test
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
287 kolmogorov_smirnov_test_2 -- two-sample Kolmogorov-Smirnov test
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
288 kruskal_wallis_test -- kruskal-Wallis test
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
289 manova -- one-way multivariate analysis of variance
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
290 mcnemar_test -- mcnemar's test for symmetry
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
291 prop_test_2 -- compare two proportions
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
292 run_test -- run test for independence
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
293 sign_test -- sign test
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
294 t_test -- student's one-sample t test
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
295 t_test_2 -- student's two-sample t test
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
296 t_test_regression -- test one linear hypothesis in linear
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
297 regression model
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
298 u_test -- mann-Whitney U-test
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
299 var_test -- f test to compare two variances
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
300 welch_test -- welch two-sample t test
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
301 wilcoxon_test -- wilcoxon signed-rank test
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
302 z_test -- test for mean of a normal sample with
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
303 known variance
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
304 z_test_2 -- compare means of two normal samples with
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
305 known variances
3192
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
306
3202
44d82b369c78 [project @ 1998-10-29 20:27:57 by jwe]
jwe
parents: 3196
diff changeset
307 * The save command now accepts the option -append to save the
3192
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
308 variables at the end of the file, leaving the existing contents.
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
309
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
310 * New command-line option --no-history (also available using the
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
311 single character option -H) inhibits saving command history.
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
312
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
313 * The mkoctfile script now accepts -DDEF options and passes them on
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
314 to the C and C++ compilers.
bdf2186d4592 [project @ 1998-10-23 19:47:59 by jwe]
jwe
parents: 3189
diff changeset
315
3174
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3164
diff changeset
316 * Running `make check' should work now before you run `make install',
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3164
diff changeset
317 even if you build a copy of Octave that depends on shared versions
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3164
diff changeset
318 of the Octave libraries.
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3164
diff changeset
319
3243
dd00769643ae [project @ 1999-05-28 04:19:00 by jwe]
jwe
parents: 3205
diff changeset
320 * For matrices, x(:) now works and returns a column vector no matter
dd00769643ae [project @ 1999-05-28 04:19:00 by jwe]
jwe
parents: 3205
diff changeset
321 what the value of do_fortran_indexing is.
3164
45490c020e47 [project @ 1998-04-14 20:56:48 by jwe]
jwe
parents: 3131
diff changeset
322
3174
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3164
diff changeset
323 * New keywords __FILE__ and __LINE__ expand to the name of the file
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3164
diff changeset
324 that is being read and the current input line number, respectively.
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3164
diff changeset
325
2977
d6ba658ac4ae [project @ 1997-05-15 20:46:34 by jwe]
jwe
parents: 2958
diff changeset
326 * Octave's expression parser is more general and consistent. It is
d6ba658ac4ae [project @ 1997-05-15 20:46:34 by jwe]
jwe
parents: 2958
diff changeset
327 now possible to access structure elements and index arbitrary
d6ba658ac4ae [project @ 1997-05-15 20:46:34 by jwe]
jwe
parents: 2958
diff changeset
328 values. For example, expressions like
d6ba658ac4ae [project @ 1997-05-15 20:46:34 by jwe]
jwe
parents: 2958
diff changeset
329
d6ba658ac4ae [project @ 1997-05-15 20:46:34 by jwe]
jwe
parents: 2958
diff changeset
330 my_home_dir = getpwuid (getuid ()) . dir;
d6ba658ac4ae [project @ 1997-05-15 20:46:34 by jwe]
jwe
parents: 2958
diff changeset
331
d6ba658ac4ae [project @ 1997-05-15 20:46:34 by jwe]
jwe
parents: 2958
diff changeset
332 and
d6ba658ac4ae [project @ 1997-05-15 20:46:34 by jwe]
jwe
parents: 2958
diff changeset
333
d6ba658ac4ae [project @ 1997-05-15 20:46:34 by jwe]
jwe
parents: 2958
diff changeset
334 svd (x) (1:5)
d6ba658ac4ae [project @ 1997-05-15 20:46:34 by jwe]
jwe
parents: 2958
diff changeset
335
d6ba658ac4ae [project @ 1997-05-15 20:46:34 by jwe]
jwe
parents: 2958
diff changeset
336 now work.
d6ba658ac4ae [project @ 1997-05-15 20:46:34 by jwe]
jwe
parents: 2958
diff changeset
337
2958
da62d3b91fa3 [project @ 1997-05-09 18:51:56 by jwe]
jwe
parents: 2944
diff changeset
338 * New built-in variable `print_rhs_assign_val' controls what is
da62d3b91fa3 [project @ 1997-05-09 18:51:56 by jwe]
jwe
parents: 2944
diff changeset
339 printed when an assignment expression is evaluated. If it is
da62d3b91fa3 [project @ 1997-05-09 18:51:56 by jwe]
jwe
parents: 2944
diff changeset
340 zero, the value of the variable on the left hand side (after the
2983
145d5acfc68b [project @ 1997-05-16 03:37:32 by jwe]
jwe
parents: 2977
diff changeset
341 assignment) is printed. If it is nonzero, the value of the right
145d5acfc68b [project @ 1997-05-16 03:37:32 by jwe]
jwe
parents: 2977
diff changeset
342 hand side (i.e., the result of the expression) is printed. The
145d5acfc68b [project @ 1997-05-16 03:37:32 by jwe]
jwe
parents: 2977
diff changeset
343 default value of is zero, so the behavior is the same as in
145d5acfc68b [project @ 1997-05-16 03:37:32 by jwe]
jwe
parents: 2977
diff changeset
344 previous versions of Octave.
2958
da62d3b91fa3 [project @ 1997-05-09 18:51:56 by jwe]
jwe
parents: 2944
diff changeset
345
2938
2e1757f57ce6 [project @ 1997-05-06 06:03:49 by jwe]
jwe
parents: 2930
diff changeset
346 * tmpnam now takes two optional arguments, DIR, and PREFIX. For
2e1757f57ce6 [project @ 1997-05-06 06:03:49 by jwe]
jwe
parents: 2930
diff changeset
347 example, tmpnam ("/foo", "bar-") returns a file name like
2e1757f57ce6 [project @ 1997-05-06 06:03:49 by jwe]
jwe
parents: 2930
diff changeset
348 "/foo/bar-10773baa". If DIR is omitted or empty, the value of the
2e1757f57ce6 [project @ 1997-05-06 06:03:49 by jwe]
jwe
parents: 2930
diff changeset
349 environment variable TMPDIR, or /tmp is used. If PREFIX is
2e1757f57ce6 [project @ 1997-05-06 06:03:49 by jwe]
jwe
parents: 2930
diff changeset
350 omitted, "oct-" is used.
2e1757f57ce6 [project @ 1997-05-06 06:03:49 by jwe]
jwe
parents: 2930
diff changeset
351
2958
da62d3b91fa3 [project @ 1997-05-09 18:51:56 by jwe]
jwe
parents: 2944
diff changeset
352 * The built-in variable `PWD' has been removed. If you need to get
2930
1b219fa3c56a [project @ 1997-05-05 05:57:02 by jwe]
jwe
parents: 2922
diff changeset
353 the value of the current working directory, use the pwd() function
1b219fa3c56a [project @ 1997-05-05 05:57:02 by jwe]
jwe
parents: 2922
diff changeset
354 instead.
1b219fa3c56a [project @ 1997-05-05 05:57:02 by jwe]
jwe
parents: 2922
diff changeset
355
2918
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
356 * New operators. Octave's parser now recognizes the following
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
357 operators: << >> += -= *= /= .+= .-= .*= ./= &= |= <<= >>=. So
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
358 far, there are only a few operations defined that actually use
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
359 them (this should change before 2.1 is released).
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
360
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
361 * New built-in data types:
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
362
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
363 logical:
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
364
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
365 A true value is represented by 1, and false value by 0.
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
366 Comparison operations like <, <=, ==, >, >=, and != now return
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
367 logical values. Indexing operations that use zero-one style
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
368 indexing must now use logical values. You can use the new
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
369 function logical() to convert a numeric value to a logical
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
370 value. This avoids the need for the built-in variable
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
371 `prefer_zero_one_indexing', so it has been removed. Logical
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
372 values are automatically converted to numeric values where
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
373 appropriate.
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
374
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
375 file:
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
376
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
377 A file object represents an open Octave stream object. The
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
378 fopen function now returns a file object instead of an integer.
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
379 File objects can be converted to integers automatically, and the
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
380 other functions that work with file ids still work with
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
381 integers, so this change should be backward compatible.
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
382
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
383 The binary left-shift operator `<<' has been defined to work as
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
384 in C++ for file objects and built-in types. For example,
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
385
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
386 my_stream = fopen ("foo", "w");
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
387 my_stream << "x = " << pi << " marks the spot\n";
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
388
2922
5d78f1ba95a8 [project @ 1997-05-02 04:50:54 by jwe]
jwe
parents: 2918
diff changeset
389 writes `x = 3.1416 marks the spot' in the file foo.
2918
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
390
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
391 The built-in variables stdin, stdout, and stderr are now also
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
392 file objects instead of integers.
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
393
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
394 list:
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
395
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
396 A list is an array of Octave objects. It can be indexed using
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
397 the normal indexing operator. For example,
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
398
2993
91589ab98e37 [project @ 1997-05-21 21:44:54 by jwe]
jwe
parents: 2983
diff changeset
399 x = list ([1,2;3,4], 1, "foo");
2918
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
400 stdout << x(2) << "\n"
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
401 1
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
402 stdout << x;
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
403 (
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
404 [1] =
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
405
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
406 1 2
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
407 3 4
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
408
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
409 [2] = 1
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
410 [3] = foo
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
411 )
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
412
c8e635ff1af4 [project @ 1997-04-30 21:41:08 by jwe]
jwe
parents: 2853
diff changeset
413 There is currently no special syntax for creating lists; you
2993
91589ab98e37 [project @ 1997-05-21 21:44:54 by jwe]
jwe
parents: 2983
diff changeset
414 must use the list function.
2845
b11fb5e85dc5 [project @ 1997-03-26 23:04:05 by jwe]
jwe
parents: 2831
diff changeset
415
2852
2284b2652028 [project @ 1997-03-28 22:04:30 by jwe]
jwe
parents: 2851
diff changeset
416 * Commas in global statements are no longer special. They are now
2284b2652028 [project @ 1997-03-28 22:04:30 by jwe]
jwe
parents: 2851
diff changeset
417 treated as command separators. This removes a conflict in the
2853
ff4ee9ad942a [project @ 1997-03-28 22:21:25 by jwe]
jwe
parents: 2852
diff changeset
418 grammar and is consistent with the way Matlab behaves. The
ff4ee9ad942a [project @ 1997-03-28 22:21:25 by jwe]
jwe
parents: 2852
diff changeset
419 variable `warn_comma_in_global_decl' has been eliminated.
2852
2284b2652028 [project @ 1997-03-28 22:04:30 by jwe]
jwe
parents: 2851
diff changeset
420
2845
b11fb5e85dc5 [project @ 1997-03-26 23:04:05 by jwe]
jwe
parents: 2831
diff changeset
421 * It is now possible to declare static variables that retain their
b11fb5e85dc5 [project @ 1997-03-26 23:04:05 by jwe]
jwe
parents: 2831
diff changeset
422 values across function calls. For example,
b11fb5e85dc5 [project @ 1997-03-26 23:04:05 by jwe]
jwe
parents: 2831
diff changeset
423
b11fb5e85dc5 [project @ 1997-03-26 23:04:05 by jwe]
jwe
parents: 2831
diff changeset
424 function ncall = f () static n = 0; ncall = ++n; endfunction
b11fb5e85dc5 [project @ 1997-03-26 23:04:05 by jwe]
jwe
parents: 2831
diff changeset
425
b11fb5e85dc5 [project @ 1997-03-26 23:04:05 by jwe]
jwe
parents: 2831
diff changeset
426 defines a function that returns the number of times that it has
b11fb5e85dc5 [project @ 1997-03-26 23:04:05 by jwe]
jwe
parents: 2831
diff changeset
427 been called.
2800
9aeba8e006a4 [project @ 1997-03-09 09:50:20 by jwe]
jwe
parents: 2767
diff changeset
428
2944
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2938
diff changeset
429 * Within user-defined functions, the new automatic variable `argn'
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2938
diff changeset
430 contains the names of the arguments that were passed to the
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2938
diff changeset
431 function. For example,
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2938
diff changeset
432
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2938
diff changeset
433 function f (...)
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2938
diff changeset
434 for i = 1:nargin
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2938
diff changeset
435 stdout << "argn(" << i << ") = `" << deblank (argn(i,:)) \
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2938
diff changeset
436 << "' and its value is " << va_arg () << "\n";
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2938
diff changeset
437 endfor
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2938
diff changeset
438 endfunction
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2938
diff changeset
439 f (1+2, "foo", sin (pi/2))
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2938
diff changeset
440
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2938
diff changeset
441 prints
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2938
diff changeset
442
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2938
diff changeset
443 argn(1) = `1 + 2' and its value is 3
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2938
diff changeset
444 argn(2) = `"foo"' and its value is foo
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2938
diff changeset
445 argn(3) = `sin (pi)' and its value is 1
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2938
diff changeset
446
e9c24f32f175 [project @ 1997-05-08 02:42:22 by jwe]
jwe
parents: 2938
diff changeset
447 on the standard output stream. If nargin is zero, argn is not defined.
2800
9aeba8e006a4 [project @ 1997-03-09 09:50:20 by jwe]
jwe
parents: 2767
diff changeset
448 * Functions like quad, fsolve, and lsode can take either a function
9aeba8e006a4 [project @ 1997-03-09 09:50:20 by jwe]
jwe
parents: 2767
diff changeset
449 name or a simple function body as a string. For example,
9aeba8e006a4 [project @ 1997-03-09 09:50:20 by jwe]
jwe
parents: 2767
diff changeset
450
9aeba8e006a4 [project @ 1997-03-09 09:50:20 by jwe]
jwe
parents: 2767
diff changeset
451 quad ("sqrt (x)", 0, 1)
9aeba8e006a4 [project @ 1997-03-09 09:50:20 by jwe]
jwe
parents: 2767
diff changeset
452
9aeba8e006a4 [project @ 1997-03-09 09:50:20 by jwe]
jwe
parents: 2767
diff changeset
453 is equivalent to
9aeba8e006a4 [project @ 1997-03-09 09:50:20 by jwe]
jwe
parents: 2767
diff changeset
454
9aeba8e006a4 [project @ 1997-03-09 09:50:20 by jwe]
jwe
parents: 2767
diff changeset
455 function y = f (x) y = sqrt (x); endfunction
9aeba8e006a4 [project @ 1997-03-09 09:50:20 by jwe]
jwe
parents: 2767
diff changeset
456 quad ("f", 0, 1)
9aeba8e006a4 [project @ 1997-03-09 09:50:20 by jwe]
jwe
parents: 2767
diff changeset
457
2815
33486d9e2d00 [project @ 1997-03-14 08:24:46 by jwe]
jwe
parents: 2800
diff changeset
458 * If the argument to eig() is symmetric, Octave uses the specialized
33486d9e2d00 [project @ 1997-03-14 08:24:46 by jwe]
jwe
parents: 2800
diff changeset
459 Lapack subroutine for symmetric matrices for a significant
33486d9e2d00 [project @ 1997-03-14 08:24:46 by jwe]
jwe
parents: 2800
diff changeset
460 increase in performance.
33486d9e2d00 [project @ 1997-03-14 08:24:46 by jwe]
jwe
parents: 2800
diff changeset
461
2851
b960bd6cbfdf [project @ 1997-03-28 21:44:22 by jwe]
jwe
parents: 2845
diff changeset
462 * If the argument to lsode that names the user-supplied function is
b960bd6cbfdf [project @ 1997-03-28 21:44:22 by jwe]
jwe
parents: 2845
diff changeset
463 a 2-element string array, the second element is taken as the name
b960bd6cbfdf [project @ 1997-03-28 21:44:22 by jwe]
jwe
parents: 2845
diff changeset
464 of the Jacobian function. The named function should have the
b960bd6cbfdf [project @ 1997-03-28 21:44:22 by jwe]
jwe
parents: 2845
diff changeset
465 following form:
b960bd6cbfdf [project @ 1997-03-28 21:44:22 by jwe]
jwe
parents: 2845
diff changeset
466
b960bd6cbfdf [project @ 1997-03-28 21:44:22 by jwe]
jwe
parents: 2845
diff changeset
467 JAC = f (X, T)
b960bd6cbfdf [project @ 1997-03-28 21:44:22 by jwe]
jwe
parents: 2845
diff changeset
468
b960bd6cbfdf [project @ 1997-03-28 21:44:22 by jwe]
jwe
parents: 2845
diff changeset
469 where JAC is the Jacobian matrix of partial derivatives of the
b960bd6cbfdf [project @ 1997-03-28 21:44:22 by jwe]
jwe
parents: 2845
diff changeset
470 right-hand-side functions that define the set of differential
b960bd6cbfdf [project @ 1997-03-28 21:44:22 by jwe]
jwe
parents: 2845
diff changeset
471 equations with respect to the state vector X.
b960bd6cbfdf [project @ 1997-03-28 21:44:22 by jwe]
jwe
parents: 2845
diff changeset
472
3107
a8dcfbf87ea3 [project @ 1997-11-19 22:34:59 by jwe]
jwe
parents: 3105
diff changeset
473 * Global variables are now initialized to the empty matrix, for
a8dcfbf87ea3 [project @ 1997-11-19 22:34:59 by jwe]
jwe
parents: 3105
diff changeset
474 compatibility with Matlab.
a8dcfbf87ea3 [project @ 1997-11-19 22:34:59 by jwe]
jwe
parents: 3105
diff changeset
475
a8dcfbf87ea3 [project @ 1997-11-19 22:34:59 by jwe]
jwe
parents: 3105
diff changeset
476 * Explicit initialization of global variables only happens once.
a8dcfbf87ea3 [project @ 1997-11-19 22:34:59 by jwe]
jwe
parents: 3105
diff changeset
477 For example, after the following statements are evaluated, g still
a8dcfbf87ea3 [project @ 1997-11-19 22:34:59 by jwe]
jwe
parents: 3105
diff changeset
478 has the value 1.
a8dcfbf87ea3 [project @ 1997-11-19 22:34:59 by jwe]
jwe
parents: 3105
diff changeset
479
a8dcfbf87ea3 [project @ 1997-11-19 22:34:59 by jwe]
jwe
parents: 3105
diff changeset
480 global g = 1
a8dcfbf87ea3 [project @ 1997-11-19 22:34:59 by jwe]
jwe
parents: 3105
diff changeset
481 global g = 2
a8dcfbf87ea3 [project @ 1997-11-19 22:34:59 by jwe]
jwe
parents: 3105
diff changeset
482
a8dcfbf87ea3 [project @ 1997-11-19 22:34:59 by jwe]
jwe
parents: 3105
diff changeset
483 This is useful for initializing global variables that are used to
a8dcfbf87ea3 [project @ 1997-11-19 22:34:59 by jwe]
jwe
parents: 3105
diff changeset
484 maintain state information that is shared among several functions.
a8dcfbf87ea3 [project @ 1997-11-19 22:34:59 by jwe]
jwe
parents: 3105
diff changeset
485
2930
1b219fa3c56a [project @ 1997-05-05 05:57:02 by jwe]
jwe
parents: 2922
diff changeset
486 * Structure elements completion on the command line actually works
1b219fa3c56a [project @ 1997-05-05 05:57:02 by jwe]
jwe
parents: 2922
diff changeset
487 now.
1b219fa3c56a [project @ 1997-05-05 05:57:02 by jwe]
jwe
parents: 2922
diff changeset
488
3105
f936c7f5074f [project @ 1997-11-19 04:36:17 by jwe]
jwe
parents: 3035
diff changeset
489 * The new built-in variable `fixed_point_format' controls whether
f936c7f5074f [project @ 1997-11-19 04:36:17 by jwe]
jwe
parents: 3035
diff changeset
490 Octave uses a scaled fixed-point format for displaying matrices.
f936c7f5074f [project @ 1997-11-19 04:36:17 by jwe]
jwe
parents: 3035
diff changeset
491 The default value is 0 unless you use --traditional.
f936c7f5074f [project @ 1997-11-19 04:36:17 by jwe]
jwe
parents: 3035
diff changeset
492
f936c7f5074f [project @ 1997-11-19 04:36:17 by jwe]
jwe
parents: 3035
diff changeset
493 * The function sumsq now computes sum (x .* conj (x)) for complex values.
f936c7f5074f [project @ 1997-11-19 04:36:17 by jwe]
jwe
parents: 3035
diff changeset
494
3131
9c5160c83bd2 [project @ 1998-01-29 04:46:33 by jwe]
jwe
parents: 3125
diff changeset
495 * The new built-in variable max_recursion_depth allows you to
9c5160c83bd2 [project @ 1998-01-29 04:46:33 by jwe]
jwe
parents: 3125
diff changeset
496 prevent Octave from attempting infinite recursion. The default
9c5160c83bd2 [project @ 1998-01-29 04:46:33 by jwe]
jwe
parents: 3125
diff changeset
497 value is 256.
9c5160c83bd2 [project @ 1998-01-29 04:46:33 by jwe]
jwe
parents: 3125
diff changeset
498
3174
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3164
diff changeset
499 * Octave now uses kpathsea 3.2.
3125
dcc6c985d72d [project @ 1998-01-16 05:08:21 by jwe]
jwe
parents: 3107
diff changeset
500
2930
1b219fa3c56a [project @ 1997-05-05 05:57:02 by jwe]
jwe
parents: 2922
diff changeset
501 * New configure option, --enable-readline.
1b219fa3c56a [project @ 1997-05-05 05:57:02 by jwe]
jwe
parents: 2922
diff changeset
502
3035
882b6ea36be6 [project @ 1997-06-05 21:35:44 by jwe]
jwe
parents: 2993
diff changeset
503 * New configure option, --enable-static.
882b6ea36be6 [project @ 1997-06-05 21:35:44 by jwe]
jwe
parents: 2993
diff changeset
504
882b6ea36be6 [project @ 1997-06-05 21:35:44 by jwe]
jwe
parents: 2993
diff changeset
505 Summary of changes for version 2.0.7:
882b6ea36be6 [project @ 1997-06-05 21:35:44 by jwe]
jwe
parents: 2993
diff changeset
506 ------------------------------------
882b6ea36be6 [project @ 1997-06-05 21:35:44 by jwe]
jwe
parents: 2993
diff changeset
507
882b6ea36be6 [project @ 1997-06-05 21:35:44 by jwe]
jwe
parents: 2993
diff changeset
508 This is a bug-fixing release. There are no new user-visible features.
882b6ea36be6 [project @ 1997-06-05 21:35:44 by jwe]
jwe
parents: 2993
diff changeset
509
882b6ea36be6 [project @ 1997-06-05 21:35:44 by jwe]
jwe
parents: 2993
diff changeset
510 Summary of changes for version 2.0.6:
882b6ea36be6 [project @ 1997-06-05 21:35:44 by jwe]
jwe
parents: 2993
diff changeset
511 ------------------------------------
882b6ea36be6 [project @ 1997-06-05 21:35:44 by jwe]
jwe
parents: 2993
diff changeset
512
882b6ea36be6 [project @ 1997-06-05 21:35:44 by jwe]
jwe
parents: 2993
diff changeset
513 This is primarily a bug-fixing release. There are only a few new
882b6ea36be6 [project @ 1997-06-05 21:35:44 by jwe]
jwe
parents: 2993
diff changeset
514 user-visible features.
882b6ea36be6 [project @ 1997-06-05 21:35:44 by jwe]
jwe
parents: 2993
diff changeset
515
882b6ea36be6 [project @ 1997-06-05 21:35:44 by jwe]
jwe
parents: 2993
diff changeset
516 * The new built-in variable default_eval_print_flag controls whether
882b6ea36be6 [project @ 1997-06-05 21:35:44 by jwe]
jwe
parents: 2993
diff changeset
517 Octave prints the results of commands executed by eval() that do
882b6ea36be6 [project @ 1997-06-05 21:35:44 by jwe]
jwe
parents: 2993
diff changeset
518 not end with semicolons. The default is 1.
882b6ea36be6 [project @ 1997-06-05 21:35:44 by jwe]
jwe
parents: 2993
diff changeset
519
882b6ea36be6 [project @ 1997-06-05 21:35:44 by jwe]
jwe
parents: 2993
diff changeset
520 * The new built-in constant OCTAVE_HOME specifies the top-level
882b6ea36be6 [project @ 1997-06-05 21:35:44 by jwe]
jwe
parents: 2993
diff changeset
521 directory where Octave is installed.
882b6ea36be6 [project @ 1997-06-05 21:35:44 by jwe]
jwe
parents: 2993
diff changeset
522
882b6ea36be6 [project @ 1997-06-05 21:35:44 by jwe]
jwe
parents: 2993
diff changeset
523 * Octave no longer includes functions to work with NPSOL or QPSOL,
882b6ea36be6 [project @ 1997-06-05 21:35:44 by jwe]
jwe
parents: 2993
diff changeset
524 because they are not free software.
882b6ea36be6 [project @ 1997-06-05 21:35:44 by jwe]
jwe
parents: 2993
diff changeset
525
3174
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3164
diff changeset
526 * The new built-in variable called kluge_procbuf_delay specifies the
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3164
diff changeset
527 number of microseconds to delay in the parent process after
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3164
diff changeset
528 forking. By default on gnu-win32 systems, it's set to 500000 (1/2
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3164
diff changeset
529 second). On other systems, the default value is 0. Delaying for
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3164
diff changeset
530 a short time in the parent after forking seems to avoid problems
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3164
diff changeset
531 in which communicating with subprocesses via pipes would sometimes
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3164
diff changeset
532 cause Octave to hang. I doubt that the delay is really the right
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3164
diff changeset
533 solution. If anyone has a better idea, I'd love to hear it.
390d5e396682 [project @ 1998-05-04 16:36:17 by jwe]
jwe
parents: 3164
diff changeset
534
2745
76411ce43c05 [project @ 1997-02-26 07:52:14 by jwe]
jwe
parents: 2704
diff changeset
535 Summary of changes for version 2.0.5:
76411ce43c05 [project @ 1997-02-26 07:52:14 by jwe]
jwe
parents: 2704
diff changeset
536 ------------------------------------
76411ce43c05 [project @ 1997-02-26 07:52:14 by jwe]
jwe
parents: 2704
diff changeset
537
2767
c05ed7ef4c1a [project @ 1997-03-01 02:55:05 by jwe]
jwe
parents: 2745
diff changeset
538 * A `switch' statement is now available. See the Statements chapter
c05ed7ef4c1a [project @ 1997-03-01 02:55:05 by jwe]
jwe
parents: 2745
diff changeset
539 in the manual for details.
c05ed7ef4c1a [project @ 1997-03-01 02:55:05 by jwe]
jwe
parents: 2745
diff changeset
540
2745
76411ce43c05 [project @ 1997-02-26 07:52:14 by jwe]
jwe
parents: 2704
diff changeset
541 * Commands like ls, save, and cd may now also be used as formal
76411ce43c05 [project @ 1997-02-26 07:52:14 by jwe]
jwe
parents: 2704
diff changeset
542 parameters for functions.
76411ce43c05 [project @ 1997-02-26 07:52:14 by jwe]
jwe
parents: 2704
diff changeset
543
76411ce43c05 [project @ 1997-02-26 07:52:14 by jwe]
jwe
parents: 2704
diff changeset
544 * More tests.
76411ce43c05 [project @ 1997-02-26 07:52:14 by jwe]
jwe
parents: 2704
diff changeset
545
2702
7a820bb7f406 [project @ 1997-02-19 19:22:34 by jwe]
jwe
parents: 2683
diff changeset
546 Summary of changes for version 2.0.4:
7a820bb7f406 [project @ 1997-02-19 19:22:34 by jwe]
jwe
parents: 2683
diff changeset
547 ------------------------------------
7a820bb7f406 [project @ 1997-02-19 19:22:34 by jwe]
jwe
parents: 2683
diff changeset
548
7a820bb7f406 [project @ 1997-02-19 19:22:34 by jwe]
jwe
parents: 2683
diff changeset
549 * It is now possible to use commands like ls, save, and cd as simple
7a820bb7f406 [project @ 1997-02-19 19:22:34 by jwe]
jwe
parents: 2683
diff changeset
550 variable names. They still cannot be used as formal parameters
7a820bb7f406 [project @ 1997-02-19 19:22:34 by jwe]
jwe
parents: 2683
diff changeset
551 for functions, or as the names of structure variables. Failed
7a820bb7f406 [project @ 1997-02-19 19:22:34 by jwe]
jwe
parents: 2683
diff changeset
552 assignments leave them undefined (you can recover the orginal
2704
261befb7f938 [project @ 1997-02-19 19:37:10 by jwe]
jwe
parents: 2702
diff changeset
553 function definition using clear).
261befb7f938 [project @ 1997-02-19 19:37:10 by jwe]
jwe
parents: 2702
diff changeset
554
261befb7f938 [project @ 1997-02-19 19:37:10 by jwe]
jwe
parents: 2702
diff changeset
555 * Is is now possible to invoke commands like ls, save, and cd as
261befb7f938 [project @ 1997-02-19 19:37:10 by jwe]
jwe
parents: 2702
diff changeset
556 normal functions (for example, load ("foo", "x", "y", "z")).
2702
7a820bb7f406 [project @ 1997-02-19 19:22:34 by jwe]
jwe
parents: 2683
diff changeset
557
2666
aa519c3a0523 [project @ 1997-02-09 00:11:22 by jwe]
jwe
parents: 2634
diff changeset
558 Summary of changes for version 2.0.3:
aa519c3a0523 [project @ 1997-02-09 00:11:22 by jwe]
jwe
parents: 2634
diff changeset
559 ------------------------------------
aa519c3a0523 [project @ 1997-02-09 00:11:22 by jwe]
jwe
parents: 2634
diff changeset
560
aa519c3a0523 [project @ 1997-02-09 00:11:22 by jwe]
jwe
parents: 2634
diff changeset
561 * The manual has been completely revised and now corresponds much
aa519c3a0523 [project @ 1997-02-09 00:11:22 by jwe]
jwe
parents: 2634
diff changeset
562 more closely to the features of the current version.
aa519c3a0523 [project @ 1997-02-09 00:11:22 by jwe]
jwe
parents: 2634
diff changeset
563
aa519c3a0523 [project @ 1997-02-09 00:11:22 by jwe]
jwe
parents: 2634
diff changeset
564 * The return value for assignment expressions is now the RHS since
aa519c3a0523 [project @ 1997-02-09 00:11:22 by jwe]
jwe
parents: 2634
diff changeset
565 that is more consistent with the way other programming languages
aa519c3a0523 [project @ 1997-02-09 00:11:22 by jwe]
jwe
parents: 2634
diff changeset
566 work. However, Octave still prints the entire LHS value so that
aa519c3a0523 [project @ 1997-02-09 00:11:22 by jwe]
jwe
parents: 2634
diff changeset
567
aa519c3a0523 [project @ 1997-02-09 00:11:22 by jwe]
jwe
parents: 2634
diff changeset
568 x = zeros (1, 2);
aa519c3a0523 [project @ 1997-02-09 00:11:22 by jwe]
jwe
parents: 2634
diff changeset
569 x(2) = 1
aa519c3a0523 [project @ 1997-02-09 00:11:22 by jwe]
jwe
parents: 2634
diff changeset
570
aa519c3a0523 [project @ 1997-02-09 00:11:22 by jwe]
jwe
parents: 2634
diff changeset
571 still prints
aa519c3a0523 [project @ 1997-02-09 00:11:22 by jwe]
jwe
parents: 2634
diff changeset
572
aa519c3a0523 [project @ 1997-02-09 00:11:22 by jwe]
jwe
parents: 2634
diff changeset
573 x =
aa519c3a0523 [project @ 1997-02-09 00:11:22 by jwe]
jwe
parents: 2634
diff changeset
574
aa519c3a0523 [project @ 1997-02-09 00:11:22 by jwe]
jwe
parents: 2634
diff changeset
575 0 1
aa519c3a0523 [project @ 1997-02-09 00:11:22 by jwe]
jwe
parents: 2634
diff changeset
576
aa519c3a0523 [project @ 1997-02-09 00:11:22 by jwe]
jwe
parents: 2634
diff changeset
577 but an assignment like
aa519c3a0523 [project @ 1997-02-09 00:11:22 by jwe]
jwe
parents: 2634
diff changeset
578
aa519c3a0523 [project @ 1997-02-09 00:11:22 by jwe]
jwe
parents: 2634
diff changeset
579 z = x(2) = 1
aa519c3a0523 [project @ 1997-02-09 00:11:22 by jwe]
jwe
parents: 2634
diff changeset
580
aa519c3a0523 [project @ 1997-02-09 00:11:22 by jwe]
jwe
parents: 2634
diff changeset
581 sets z to 1 (not [ 0, 1 ] as in previous versions of Octave).
aa519c3a0523 [project @ 1997-02-09 00:11:22 by jwe]
jwe
parents: 2634
diff changeset
582
2683
8a4f3b3bb8d5 [project @ 1997-02-14 20:38:55 by jwe]
jwe
parents: 2666
diff changeset
583 * It is now much easier to make binary distributions. See the
8a4f3b3bb8d5 [project @ 1997-02-14 20:38:55 by jwe]
jwe
parents: 2666
diff changeset
584 Binary Distributions section of the manual for more details.
8a4f3b3bb8d5 [project @ 1997-02-14 20:38:55 by jwe]
jwe
parents: 2666
diff changeset
585
2615
ad44ecafabe4 [project @ 1997-01-21 04:13:13 by jwe]
jwe
parents: 2613
diff changeset
586 Summary of changes for version 2.0.2:
2613
5bcee07be597 [project @ 1997-01-21 03:52:08 by jwe]
jwe
parents: 2581
diff changeset
587 ------------------------------------
5bcee07be597 [project @ 1997-01-21 03:52:08 by jwe]
jwe
parents: 2581
diff changeset
588
2621
337a09dd1c06 [project @ 1997-01-24 21:49:41 by jwe]
jwe
parents: 2615
diff changeset
589 * Octave now stops executing commands from a script file if an error
337a09dd1c06 [project @ 1997-01-24 21:49:41 by jwe]
jwe
parents: 2615
diff changeset
590 is encountered.
337a09dd1c06 [project @ 1997-01-24 21:49:41 by jwe]
jwe
parents: 2615
diff changeset
591
337a09dd1c06 [project @ 1997-01-24 21:49:41 by jwe]
jwe
parents: 2615
diff changeset
592 * The return, and break commands now cause Octave to quit executing
337a09dd1c06 [project @ 1997-01-24 21:49:41 by jwe]
jwe
parents: 2615
diff changeset
593 commands from script files. When used in invalid contexts, the
337a09dd1c06 [project @ 1997-01-24 21:49:41 by jwe]
jwe
parents: 2615
diff changeset
594 break, continue, and return commands are now simply ignored
337a09dd1c06 [project @ 1997-01-24 21:49:41 by jwe]
jwe
parents: 2615
diff changeset
595 instead of producing parse errors.
337a09dd1c06 [project @ 1997-01-24 21:49:41 by jwe]
jwe
parents: 2615
diff changeset
596
2613
5bcee07be597 [project @ 1997-01-21 03:52:08 by jwe]
jwe
parents: 2581
diff changeset
597 * size ("") is now [0, 0].
5bcee07be597 [project @ 1997-01-21 03:52:08 by jwe]
jwe
parents: 2581
diff changeset
598
2634
eebc31f84a4d [project @ 1997-01-27 21:53:18 by jwe]
jwe
parents: 2621
diff changeset
599 * New functions:
eebc31f84a4d [project @ 1997-01-27 21:53:18 by jwe]
jwe
parents: 2621
diff changeset
600
eebc31f84a4d [project @ 1997-01-27 21:53:18 by jwe]
jwe
parents: 2621
diff changeset
601 sleep -- pause execution for a specified number of seconds
eebc31f84a4d [project @ 1997-01-27 21:53:18 by jwe]
jwe
parents: 2621
diff changeset
602 usleep -- pause execution for a specified number of microseconds
eebc31f84a4d [project @ 1997-01-27 21:53:18 by jwe]
jwe
parents: 2621
diff changeset
603
2452
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
604 Summary of changes for version 2.0:
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
605 ----------------------------------
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
606
2520
a034dcdbc282 [project @ 1996-11-15 04:57:21 by jwe]
jwe
parents: 2511
diff changeset
607 * The set and show commands for setting and displaying gnuplot
a034dcdbc282 [project @ 1996-11-15 04:57:21 by jwe]
jwe
parents: 2511
diff changeset
608 parameters have been replaced by gset and gshow. This change will
a034dcdbc282 [project @ 1996-11-15 04:57:21 by jwe]
jwe
parents: 2511
diff changeset
609 probably break lots of things, but it is necessary to allow for
a034dcdbc282 [project @ 1996-11-15 04:57:21 by jwe]
jwe
parents: 2511
diff changeset
610 compatibility with the Matlab graphics and GUI commands in a
a034dcdbc282 [project @ 1996-11-15 04:57:21 by jwe]
jwe
parents: 2511
diff changeset
611 future version of Octave. (For now, the old set and show commands
a034dcdbc282 [project @ 1996-11-15 04:57:21 by jwe]
jwe
parents: 2511
diff changeset
612 do work, but they print an annoying warning message to try to get
a034dcdbc282 [project @ 1996-11-15 04:57:21 by jwe]
jwe
parents: 2511
diff changeset
613 people to switch to using gset.)
a034dcdbc282 [project @ 1996-11-15 04:57:21 by jwe]
jwe
parents: 2511
diff changeset
614
2581
6eb163dafaca [project @ 1996-12-10 07:10:05 by jwe]
jwe
parents: 2580
diff changeset
615 * Octave has been mostly ported to Windows NT and Windows 95 using
6eb163dafaca [project @ 1996-12-10 07:10:05 by jwe]
jwe
parents: 2580
diff changeset
616 the beta 17 release of the Cygnus GNU-WIN32 tools. Not everything
6eb163dafaca [project @ 1996-12-10 07:10:05 by jwe]
jwe
parents: 2580
diff changeset
617 works, but it is usable. See the file README.WINDOWS for more
6eb163dafaca [project @ 1996-12-10 07:10:05 by jwe]
jwe
parents: 2580
diff changeset
618 information.
6eb163dafaca [project @ 1996-12-10 07:10:05 by jwe]
jwe
parents: 2580
diff changeset
619
2580
fa7dd5fc7c59 [project @ 1996-12-10 06:30:41 by jwe]
jwe
parents: 2554
diff changeset
620 * Dynamic linking works on more systems using dlopen() and friends
fa7dd5fc7c59 [project @ 1996-12-10 06:30:41 by jwe]
jwe
parents: 2554
diff changeset
621 (most modern Unix systems) or shl_load() and friends (HP/UX
fa7dd5fc7c59 [project @ 1996-12-10 06:30:41 by jwe]
jwe
parents: 2554
diff changeset
622 systems). A simple example is provided in examples/hello.cc.
fa7dd5fc7c59 [project @ 1996-12-10 06:30:41 by jwe]
jwe
parents: 2554
diff changeset
623 For this feature to work, you must configure Octave with
fa7dd5fc7c59 [project @ 1996-12-10 06:30:41 by jwe]
jwe
parents: 2554
diff changeset
624 --enable-shared. You may also need to have a shared-library
fa7dd5fc7c59 [project @ 1996-12-10 06:30:41 by jwe]
jwe
parents: 2554
diff changeset
625 version of libg++ and libstdc++.
fa7dd5fc7c59 [project @ 1996-12-10 06:30:41 by jwe]
jwe
parents: 2554
diff changeset
626
2452
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
627 * New data types can be added to Octave by writing a C++ class. On
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
628 systems that support dynamic linking, new data types can be added
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
629 to an already running Octave binary. A simple example appears in
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
630 the file examples/make_int.cc. Other examples are the standard
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
631 Octave data types defined in the files src/ov*.{h,cc} and
2580
fa7dd5fc7c59 [project @ 1996-12-10 06:30:41 by jwe]
jwe
parents: 2554
diff changeset
632 src/op-*.cc.
2452
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
633
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
634 * The configure option --enable-bounds-check turns on bounds
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
635 checking on element references for Octave's internal array and
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
636 matrix classes. It's enabled by default. To disable this
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
637 feature, configure Octave with --disable-bounds-check.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
638
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
639 * The C-style I/O functions (fopen, fprintf, etc.) have been
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
640 rewritten to be more compatible with Matlab. The fputs function
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
641 has also been added. Usage of the *printf functions that was
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
642 allowed in previous versions of Octave should still work.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
643 However, there is no way to make the new versions of the *scanf
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
644 functions compatible with Matlab *and* previous versions of
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
645 Octave. An optional argument to the *scanf functions is now
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
646 available to make them behave in a way that is compatible with
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
647 previous versions of Octave.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
648
2511
9b0dd36714eb [project @ 1996-11-14 02:57:33 by jwe]
jwe
parents: 2496
diff changeset
649 * Octave can now read files that contain columns of numbers only,
9b0dd36714eb [project @ 1996-11-14 02:57:33 by jwe]
jwe
parents: 2496
diff changeset
650 with no header information. The name of the loaded variable is
9b0dd36714eb [project @ 1996-11-14 02:57:33 by jwe]
jwe
parents: 2496
diff changeset
651 constructed from the file name. Each line in the file must have
9b0dd36714eb [project @ 1996-11-14 02:57:33 by jwe]
jwe
parents: 2496
diff changeset
652 the same number of elements.
9b0dd36714eb [project @ 1996-11-14 02:57:33 by jwe]
jwe
parents: 2496
diff changeset
653
2452
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
654 * The interface to the pager has changed. The new built-in variable
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
655 `page_output_immediately' controls when Octave sends output to the
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
656 pager. If it is nonzero, Octave sends output to the pager as soon
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
657 as it is available. Otherwise, Octave buffers its output and
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
658 waits until just before the prompt is printed to flush it to the
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
659 pager.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
660
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
661 * Expressions of the form
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
662
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
663 A(i,j) = x
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
664
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
665 where X is a scalar and the indices i and j define a matrix of
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
666 elements now work as you would expect rather than giving an error.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
667 I am told that this is how Matlab 5.0 will behave when it is
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
668 released.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
669
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
670 * Indexing of character strings now works.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
671
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
672 * The echo command has been implemented.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
673
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
674 * The document command is now a regular function.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
675
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
676 * New method for handling errors:
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
677
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
678 try
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
679 BODY
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
680 catch
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
681 CLEANUP
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
682 end_try_catch
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
683
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
684 Where BODY and CLEANUP are both optional and may contain any
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
685 Octave expressions or commands. The statements in CLEANUP are
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
686 only executed if an error occurs in BODY.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
687
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
688 No warnings or error messages are printed while BODY is
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
689 executing. If an error does occur during the execution of BODY,
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
690 CLEANUP can access the text of the message that would have been
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
691 printed in the builtin constant __error_text__. This is the same
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
692 as eval (TRY, CATCH) (which may now also use __error_text__) but
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
693 it is more efficient since the commands do not need to be parsed
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
694 each time the TRY and CATCH statements are evaluated.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
695
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
696 * Octave no longer parses the help command by grabbing everything
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
697 after the keyword `help' until a newline character is read. To
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
698 get help for `;' or `,', now, you need to use the command
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
699 `help semicolon' or `help comma'.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
700
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
701 * Octave's parser now does some simple constant folding. This means
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
702 that expressions like 3*i are now evaluated only once, when a
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
703 function is compiled, and the right hand side of expressions like
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
704 a = [1,2;3,4] are treated as true matrix constants rather than
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
705 lists of elements which must be evaluated each time they are
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
706 needed.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
707
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
708 * Built-in variables that can take values of "true" and "false" can
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
709 now also be set to any nonzero scalar value to indicate "true",
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
710 and 0 to indicate "false".
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
711
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
712 * New built-in variables `history_file', `history_size', and
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
713 `saving_history'.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
714
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
715 * New built-in variable `string_fill_char' specifies the character
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
716 to fill with when creating arrays of strings.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
717
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
718 * If the new built-in variable `gnuplot_has_frames' is nonzero,
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
719 Octave assumes that your copy of gnuplot includes support for
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
720 multiple plot windows when using X11.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
721
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
722 If the new built-in variable `gnuplot_has_multiplot' is nonzero,
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
723 Octave assumes that your copy of gnuplot has the multiplot support
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
724 that is included in recent 3.6beta releases.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
725
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
726 The initial values of these variables are determined by configure,
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
727 but can be changed in your startup script or at the command line
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
728 in case configure got it wrong, or if you upgrade your gnuplot
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
729 installation.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
730
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
731 * The new plot function `figure' allows multiple plot windows when
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
732 using newer versions of gnuplot with X11.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
733
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
734 * Octave now notices when the plotter has exited unexpectedly.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
735
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
736 * New built-in variable `warn_missing_semicolon'. If nonzero, Octave
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
737 will warn when statements in function definitions don't end in
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
738 semicolons. The default value is 0.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
739
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
740 * Octave now attempts to continue after floating point exceptions
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
741 or out-of-memory errors.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
742
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
743 * If Octave crashes, it now attempts to save all user-defined
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
744 variables in a file named `octave-core' in the current directory
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
745 before exiting.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
746
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
747 * It is now possible to get the values of individual option settings
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
748 for the dassl, fsolve, lsode, npsol, qpsol, and quad functions
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
749 using commands like
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
750
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
751 dassl_reltol = dassl_options ("relative tolerance");
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
752
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
753 * The svd() function no longer computes the left and right singular
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
754 matrices unnecessarily. This can significantly improve
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
755 performance for large matrices if you are just looking for the
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
756 singular values.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
757
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
758 * The filter() function is now a built-in function.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
759
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
760 * New function randn() returns a pseudo-random number from a normal
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
761 distribution. The rand() and randn() functions have separate
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
762 seeds and generators.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
763
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
764 * Octave's command-line arguments are now available in the built-in
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
765 variable `argv'. The program name is also available in the
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
766 variables `program_invocation_name' and `program_name'. If
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
767 executing a script from the command line (e.g., octave foo.m) or
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
768 using the `#! /bin/octave' hack, the program name is set to the
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
769 name of the script.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
770
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
771 * New built-in variable `completion_append_char' used as the
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
772 character to append to successful command-line completion
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
773 attempts. The default is " " (a single space).
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
774
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
775 * Octave now uses a modified copy of the readline library from
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
776 version 1.14.5 of GNU bash.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
777
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
778 * In prompt strings, `\H' expands to the whole host name.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
779
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
780 * New built-in variable `beep_on_error'. If nonzero, Octave will try
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
781 to ring your terminal's bell before printing an error message.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
782 The default value is 0.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
783
2554
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2520
diff changeset
784 * For functions defined from files, the type command now prints the
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2520
diff changeset
785 text of the file. You can still get the text reconstructed from
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2520
diff changeset
786 the parse tree by using the new option -t (-transformed).
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2520
diff changeset
787
2452
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
788 * New command-line argument --traditional sets the following
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
789 preference variables for compatibility with Matlab:
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
790
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
791 PS1 = ">> "
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
792 PS2 = ""
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
793 beep_on_error = 1
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
794 default_save_format = "mat-binary"
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
795 define_all_return_values = 1
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
796 do_fortran_indexing = 1
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
797 empty_list_elements_ok = 1
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
798 implicit_str_to_num_ok = 1
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
799 ok_to_lose_imaginary_part = 1
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
800 page_screen_output = 0
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
801 prefer_column_vectors = 0
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
802 prefer_zero_one_indexing = 1
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
803 print_empty_dimensions = 0
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
804 treat_neg_dim_as_zero = 1
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
805 warn_function_name_clash = 0
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
806 whitespace_in_literal_matrix = "traditional"
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
807
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
808 * New functions:
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
809
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
810 readdir -- returns names of files in directory as array of strings
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
811 mkdir -- create a directory
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
812 rmdir -- remove a directory
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
813 rename -- rename a file
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
814 unlink -- delete a file
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
815 umask -- set permission mask for file creation
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
816 stat -- get information about a file
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
817 lstat -- get information about a symbolic link
2496
9823f8bfd1a5 [project @ 1996-11-11 03:17:10 by jwe]
jwe
parents: 2484
diff changeset
818 glob -- perform filename globbing
9823f8bfd1a5 [project @ 1996-11-11 03:17:10 by jwe]
jwe
parents: 2484
diff changeset
819 fnmatch -- match strings with filename globbing patterns
2452
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
820 more -- turn the pager on or off
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
821 gammaln -- alias for lgamma
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
822
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
823 * New audio functions from Andreas Weingessel
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
824 <Andreas.Weingessel@ci.tuwien.ac.at>.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
825
2458
d07a5d0b57e2 [project @ 1996-11-03 03:25:18 by jwe]
jwe
parents: 2452
diff changeset
826 lin2mu -- linear to mu-law encoding
d07a5d0b57e2 [project @ 1996-11-03 03:25:18 by jwe]
jwe
parents: 2452
diff changeset
827 loadaudio -- load an audio file to a vector
d07a5d0b57e2 [project @ 1996-11-03 03:25:18 by jwe]
jwe
parents: 2452
diff changeset
828 mu2lin -- mu-law to linear encoding
d07a5d0b57e2 [project @ 1996-11-03 03:25:18 by jwe]
jwe
parents: 2452
diff changeset
829 playaudio -- play an audio file
d07a5d0b57e2 [project @ 1996-11-03 03:25:18 by jwe]
jwe
parents: 2452
diff changeset
830 record -- record sound and store in vector
d07a5d0b57e2 [project @ 1996-11-03 03:25:18 by jwe]
jwe
parents: 2452
diff changeset
831 saveaudio -- save a vector as an audio file
d07a5d0b57e2 [project @ 1996-11-03 03:25:18 by jwe]
jwe
parents: 2452
diff changeset
832 setaudio -- executes mixer shell command
2452
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
833
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
834 * New plotting functions from Vinayak Dutt. Ones dealing with
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
835 multiple plots on one page require features from gnuplot 3.6beta
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
836 (or later).
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
837
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
838 bottom_title -- put title at the bottom of the plot
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
839 mplot -- multiplot version of plot
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
840 multiplot -- switch multiple-plot mode on or off
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
841 oneplot -- return to one plot per page
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
842 plot_border -- put a border around plots
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
843 subplot -- position multiple plots on a single page
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
844 subwindow -- set subwindow position for next plot
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
845 top_title -- put title at the top of the plot
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
846 zlabel -- put a label on the z-axis
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
847
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
848 * New string functions
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
849
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
850 bin2dec -- convert a string of ones and zeros to an integer
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
851 blanks -- create a string of blanks
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
852 deblank -- delete trailing blanks
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
853 dec2bin -- convert an integer to a string of ones and zeros
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
854 dec2hex -- convert an integer to a hexadecimal string
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
855 findstr -- locate occurrences of one string in another
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
856 hex2dec -- convert a hexadecimal string to an integer
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
857 index -- return position of first occurrence a string in another
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
858 rindex -- return position of last occurrence a string in another
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
859 split -- divide one string into pieces separated by another
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
860 str2mat -- create a string matrix from a list of strings
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
861 strrep -- replace substrings in a string
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
862 substr -- extract a substring
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
863
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
864 The following functions return a matrix of ones and zeros.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
865 Elements that are nonzero indicate that the condition was true for
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
866 the corresponding character in the string array.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
867
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
868 isalnum -- letter or a digit
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
869 isalpha -- letter
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
870 isascii -- ascii
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
871 iscntrl -- control character
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
872 isdigit -- digit
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
873 isgraph -- printable (but not space character)
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
874 islower -- lower case
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
875 isprint -- printable (including space character)
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
876 ispunct -- punctuation
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
877 isspace -- whitespace
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
878 isupper -- upper case
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
879 isxdigit -- hexadecimal digit
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
880
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
881 These functions return new strings.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
882
2458
d07a5d0b57e2 [project @ 1996-11-03 03:25:18 by jwe]
jwe
parents: 2452
diff changeset
883 tolower -- convert to lower case
d07a5d0b57e2 [project @ 1996-11-03 03:25:18 by jwe]
jwe
parents: 2452
diff changeset
884 toupper -- convert to upper case
2452
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
885
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
886 * New function, fgetl. Both fgetl and fgets accept an optional
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
887 second argument that specifies a maximum number of characters to
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
888 read, and the function fgets is now compatible with Matlab.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
889
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
890 * Printing in hexadecimal format now works (format hex). It is also
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
891 possible to print the internal bit representation of a value
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
892 (format bit). Note that these formats are only implemented for
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
893 numeric values.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
894
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
895 * Additional structure features:
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
896
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
897 -- Name completion now works for structures.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
898
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
899 -- Values and names of structure elements are now printed by
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
900 default. The new built-in variable `struct_levels_to_print'
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
901 controls the depth of nested structures to print. The default
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
902 value is 2.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
903
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
904 -- New functions:
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
905
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
906 struct_contains (S, NAME) -- returns 1 if S is a structure with
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
907 element NAME; otherwise returns 0.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
908
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
909 struct_elements (S) -- returns the names of all elements
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
910 of structure S in an array of strings.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
911
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
912 * New io/subprocess functions:
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
913
2458
d07a5d0b57e2 [project @ 1996-11-03 03:25:18 by jwe]
jwe
parents: 2452
diff changeset
914 fputs -- write a string to a file with no formatting
d07a5d0b57e2 [project @ 1996-11-03 03:25:18 by jwe]
jwe
parents: 2452
diff changeset
915 popen2 -- start a subprocess with 2-way communication
d07a5d0b57e2 [project @ 1996-11-03 03:25:18 by jwe]
jwe
parents: 2452
diff changeset
916 mkfifo -- create a FIFO special file
d07a5d0b57e2 [project @ 1996-11-03 03:25:18 by jwe]
jwe
parents: 2452
diff changeset
917 popen -- open a pipe to a subprocess
d07a5d0b57e2 [project @ 1996-11-03 03:25:18 by jwe]
jwe
parents: 2452
diff changeset
918 pclose -- close a pipe from a subprocess
d07a5d0b57e2 [project @ 1996-11-03 03:25:18 by jwe]
jwe
parents: 2452
diff changeset
919 waitpid -- check the status of or wait for subprocesses
2452
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
920
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
921 * New time functions:
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
922
2458
d07a5d0b57e2 [project @ 1996-11-03 03:25:18 by jwe]
jwe
parents: 2452
diff changeset
923 asctime -- format time structure according to local format
d07a5d0b57e2 [project @ 1996-11-03 03:25:18 by jwe]
jwe
parents: 2452
diff changeset
924 ctime -- equivalent to `asctime (localtime (TMSTRUCT))'
d07a5d0b57e2 [project @ 1996-11-03 03:25:18 by jwe]
jwe
parents: 2452
diff changeset
925 gmtime -- return time structure corresponding to UTC
d07a5d0b57e2 [project @ 1996-11-03 03:25:18 by jwe]
jwe
parents: 2452
diff changeset
926 localtime -- return time structure corresponding to local time zone
d07a5d0b57e2 [project @ 1996-11-03 03:25:18 by jwe]
jwe
parents: 2452
diff changeset
927 strftime -- print given time structure using specified format
d07a5d0b57e2 [project @ 1996-11-03 03:25:18 by jwe]
jwe
parents: 2452
diff changeset
928 time -- return current time
2452
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
929
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
930 The `clock' and `date' functions are now implemented in M-files
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
931 using these basic functions.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
932
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
933 * Access to additional Unix system calls:
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
934
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
935 dup2 -- duplicate a file descriptor
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
936 exec -- replace current process with a new process
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
937 fcntl -- control open file descriptors
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
938 fork -- create a copy of the current process
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
939 getpgrp -- return the process group id of the current process
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
940 getpid -- return the process id of the current process
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
941 getppid -- return the process id of the parent process
2475
1d7925d6bede [project @ 1996-11-07 04:36:00 by jwe]
jwe
parents: 2473
diff changeset
942 getuid -- return the real user id of the current process
1d7925d6bede [project @ 1996-11-07 04:36:00 by jwe]
jwe
parents: 2473
diff changeset
943 getgid -- return the real group id of the current process
1d7925d6bede [project @ 1996-11-07 04:36:00 by jwe]
jwe
parents: 2473
diff changeset
944 geteuid -- return the effective user id of the current process
1d7925d6bede [project @ 1996-11-07 04:36:00 by jwe]
jwe
parents: 2473
diff changeset
945 getegid -- return the effective group id of the current process
2452
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
946 pipe -- create an interprocess channel
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
947
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
948 * Other new functions:
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
949
2554
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2520
diff changeset
950 commutation_matrix -- compute special matrix form
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2520
diff changeset
951 duplication_matrix -- compute special matrix form
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2520
diff changeset
952 common_size.m -- bring arguments to a common size
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2520
diff changeset
953 completion_matches -- perform command completion on string
2458
d07a5d0b57e2 [project @ 1996-11-03 03:25:18 by jwe]
jwe
parents: 2452
diff changeset
954 tilde_expand -- perform tilde expansion on string
2554
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2520
diff changeset
955
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2520
diff changeset
956 meshgrid -- compatible with Matlab's meshgrid function
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2520
diff changeset
957 tmpnam -- replaces octave_tmp_file_name
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2520
diff changeset
958 atexit -- register functions to be called when Octave exits
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2520
diff changeset
959 putenv -- define an environment variable
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2520
diff changeset
960 bincoeff -- compute binomial coefficients
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2520
diff changeset
961 nextpow2 -- compute the next power of 2 greater than a number
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2520
diff changeset
962 detrend -- remove a best fit polynomial from data
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2520
diff changeset
963 erfinv -- inverse error function
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2520
diff changeset
964 shift -- perform a circular shift on the elements of a matrix
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2520
diff changeset
965 pow2 -- compute 2 .^ x
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2520
diff changeset
966 log2 -- compute base 2 logarithms
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2520
diff changeset
967 diff -- compute differences of matrix elements
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2520
diff changeset
968 vech -- stack columns of a matrix below the diagonal
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2520
diff changeset
969 vec -- stack columns of a matrix to form a vector
f7e3d23f0a8f [project @ 1996-11-21 01:41:57 by jwe]
jwe
parents: 2520
diff changeset
970 xor -- compute exclusive or
2452
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
971
2459
0a2cd53db5f9 [project @ 1996-11-03 03:36:01 by jwe]
jwe
parents: 2458
diff changeset
972 * Functions for getting info from the password database on Unix systems:
0a2cd53db5f9 [project @ 1996-11-03 03:36:01 by jwe]
jwe
parents: 2458
diff changeset
973
0a2cd53db5f9 [project @ 1996-11-03 03:36:01 by jwe]
jwe
parents: 2458
diff changeset
974 getpwent -- read entry from password-file stream, opening if necessary
0a2cd53db5f9 [project @ 1996-11-03 03:36:01 by jwe]
jwe
parents: 2458
diff changeset
975 getpwuid -- search for password entry with matching user ID
0a2cd53db5f9 [project @ 1996-11-03 03:36:01 by jwe]
jwe
parents: 2458
diff changeset
976 getpwnam -- search for password entry with matching username
0a2cd53db5f9 [project @ 1996-11-03 03:36:01 by jwe]
jwe
parents: 2458
diff changeset
977 setpwent -- rewind the password-file stream
0a2cd53db5f9 [project @ 1996-11-03 03:36:01 by jwe]
jwe
parents: 2458
diff changeset
978 endpwent -- close the password-file stream
0a2cd53db5f9 [project @ 1996-11-03 03:36:01 by jwe]
jwe
parents: 2458
diff changeset
979
2484
ccaffe93c32f [project @ 1996-11-07 23:24:46 by jwe]
jwe
parents: 2475
diff changeset
980 * Functions for getting info from the group database on Unix systems:
ccaffe93c32f [project @ 1996-11-07 23:24:46 by jwe]
jwe
parents: 2475
diff changeset
981
ccaffe93c32f [project @ 1996-11-07 23:24:46 by jwe]
jwe
parents: 2475
diff changeset
982 getgrent -- read entry from group-file stream, opening if necessary
ccaffe93c32f [project @ 1996-11-07 23:24:46 by jwe]
jwe
parents: 2475
diff changeset
983 getgrgid -- search for group entry with matching group ID
ccaffe93c32f [project @ 1996-11-07 23:24:46 by jwe]
jwe
parents: 2475
diff changeset
984 getgrnam -- search for group entry with matching group name
ccaffe93c32f [project @ 1996-11-07 23:24:46 by jwe]
jwe
parents: 2475
diff changeset
985 setgrent -- rewind the pgroup-file stream
ccaffe93c32f [project @ 1996-11-07 23:24:46 by jwe]
jwe
parents: 2475
diff changeset
986 endgrent -- close the group-file stream
ccaffe93c32f [project @ 1996-11-07 23:24:46 by jwe]
jwe
parents: 2475
diff changeset
987
2452
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
988 * The New function octave_config_info returns a structure containing
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
989 information about how Octave was configured and compiled.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
990
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
991 * New function getrusage returns a structure containing system
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
992 resource usage statistics. The `cputime' function is now defined
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
993 in an M-file using getrusage.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
994
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
995 * The info reader is now a separate binary that runs as a
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
996 subprocess. You still need the info reader distributed with
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
997 Octave though, because there are some new command-line arguments
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
998 that are not yet available in the public release of Info.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
999
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
1000 * There is a new built-in variable, INFO_PROGRAM, which is used as
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
1001 the name of the info program to run. Its initial value is
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
1002 $OCTAVE_HOME/lib/octave/VERSION/exec/ARCH/info, but that value can
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
1003 be overridden by the environment variable OCTAVE_INFO_PROGRAM, or
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
1004 the command line argument --info-program NAME, or by setting the
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
1005 value of INFO_PROGRAM in a startup script.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
1006
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
1007 * There is a new built-in variable, EXEC_PATH, which is used as
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
1008 the list of directories to search when executing subprograms. Its
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
1009 initial value is taken from the environment variable
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
1010 OCTAVE_EXEC_PATH (if it exists) or PATH, but that value can be
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
1011 overridden by the the command line argument --exec-path PATH, or
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
1012 by setting the value of EXEC_PATH in a startup script. If the
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
1013 EXEC_PATH begins (ends) with a colon, the directories
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
1014 $OCTAVE_HOME/lib/octave/VERSION/exec/ARCH and $OCTAVE_HOME/bin are
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
1015 prepended (appended) to EXEC_PATH (if you don't specify a value
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
1016 for EXEC_PATH explicitly, these special directories are prepended
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
1017 to your PATH).
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
1018
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
1019 * If it is present, Octave will now use an `ls-R' database file to
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
1020 speed up recursive path searching. Octave looks for a file called
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
1021 ls-R in the directory specified by the environment variable
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
1022 OCTAVE_DB_DIR. If that is not set but the environment variable
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
1023 OCTAVE_HOME is set, Octave looks in $OCTAVE_HOME/lib/octave.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
1024 Otherwise, Octave looks in the directory $datadir/octave (normally
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
1025 /usr/local/lib/octave).
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
1026
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
1027 * New examples directory.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
1028
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
1029 * There is a new script, mkoctfile, that can be used to create .oct
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
1030 files suitable for dynamic linking.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
1031
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
1032 * Many more bug fixes.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
1033
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
1034 * ChangeLogs are now kept in each subdirectory.
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
1035
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
1036 See NEWS.1 for old news.