annotate NEWS @ 11109:41d18f6342f9

remove image_viewer function
author John W. Eaton <jwe@octave.org>
date Mon, 18 Oct 2010 14:15:06 -0400
parents 07b4cd795742
children 84ad75921e35
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9352
b59cc3252a51 NEWS update
Jaroslav Hajek <highegg@gmail.com>
parents: 9215
diff changeset
1 Summary of important user-visible changes for version 3.3:
b59cc3252a51 NEWS update
Jaroslav Hajek <highegg@gmail.com>
parents: 9215
diff changeset
2 ---------------------------------------------------------
b59cc3252a51 NEWS update
Jaroslav Hajek <highegg@gmail.com>
parents: 9215
diff changeset
3
10522
6538ff562949 document keypress and mouse callback properties
Shai Ayal <shaiay@users.sourceforge.net>
parents: 10453
diff changeset
4 ** The fltk graphics backend now implements the following callback
6538ff562949 document keypress and mouse callback properties
Shai Ayal <shaiay@users.sourceforge.net>
parents: 10453
diff changeset
5 properties: keypressfcn, keyreleasefcn, windowbuttondownfcn,
6538ff562949 document keypress and mouse callback properties
Shai Ayal <shaiay@users.sourceforge.net>
parents: 10453
diff changeset
6 windowbuttonmotionfcn, windowbuttonupfcn, and currentpoint. These
6538ff562949 document keypress and mouse callback properties
Shai Ayal <shaiay@users.sourceforge.net>
parents: 10453
diff changeset
7 enable keyboard and mouse interaction, an example of which can be
6538ff562949 document keypress and mouse callback properties
Shai Ayal <shaiay@users.sourceforge.net>
parents: 10453
diff changeset
8 seen in the __fltk_ginput__.m script.
6538ff562949 document keypress and mouse callback properties
Shai Ayal <shaiay@users.sourceforge.net>
parents: 10453
diff changeset
9
9799
cfd0aa788ae1 remove reference blas and lapack sources
John W. Eaton <jwe@octave.org>
parents: 9745
diff changeset
10 ** BLAS and LAPACK libraries are now required to build Octave. The
cfd0aa788ae1 remove reference blas and lapack sources
John W. Eaton <jwe@octave.org>
parents: 9745
diff changeset
11 subset of the reference BLAS and LAPACK libraries has been removed
cfd0aa788ae1 remove reference blas and lapack sources
John W. Eaton <jwe@octave.org>
parents: 9745
diff changeset
12 from the Octave sources.
cfd0aa788ae1 remove reference blas and lapack sources
John W. Eaton <jwe@octave.org>
parents: 9745
diff changeset
13
10118
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
14 ** The `lookup' function was extended to be more useful for
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
15 general-purpose binary searching. Using this improvement, the
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
16 ismember function was rewritten for significantly better
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
17 performance.
9352
b59cc3252a51 NEWS update
Jaroslav Hajek <highegg@gmail.com>
parents: 9215
diff changeset
18
b59cc3252a51 NEWS update
Jaroslav Hajek <highegg@gmail.com>
parents: 9215
diff changeset
19 ** Real, integer and logical matrices, when used in indexing, will now
b59cc3252a51 NEWS update
Jaroslav Hajek <highegg@gmail.com>
parents: 9215
diff changeset
20 cache the internal index_vector value (zero-based indices) when
b59cc3252a51 NEWS update
Jaroslav Hajek <highegg@gmail.com>
parents: 9215
diff changeset
21 successfully used as indices, eliminating the conversion penalty for
10118
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
22 subsequent indexing by the same matrix. In particular, this means it
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
23 is no longer needed to avoid repeated indexing by logical arrays
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
24 using find for performance reasons.
9888
cee6c63cff32 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9880
diff changeset
25
10118
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
26 ** Logical matrices are now treated more efficiently when used as
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
27 indices. Octave will keep the index as a logical mask unless the
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
28 ratio of true elements is small enough, using a specialized
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
29 code. Previously, all logical matrices were always first converted
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
30 to index vectors. This results in savings in both memory and
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
31 computing time.
9480
bca39c365fda update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9462
diff changeset
32
10118
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
33 ** The `sub2ind' and `ind2sub' functions were reimplemented as compiled
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
34 functions for better performance. These functions are now faster,
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
35 can deliver more economized results for ranges, and can reuse the
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
36 index cache mechanism described in previous paragraph.
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
37
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
38 ** The built-in function equivalents to associative operators (`plus',
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
39 `times', `mtimes', `and', and `or') have been extended to accept
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
40 multiple arguments. This is especially useful for summing
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
41 (multiplying, etc.) lists of objects (of possibly distinct types):
9408
6729708602ca NEWS update
Jaroslav Hajek <highegg@gmail.com>
parents: 9407
diff changeset
42
9449
a35d8ec8a0c4 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9408
diff changeset
43 matrix_sum = plus (matrix_list{:});
a35d8ec8a0c4 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9408
diff changeset
44
10118
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
45 ** An FTP object type based on libcurl has been implemented. These
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
46 objects allow ftp connections, downloads and uploads to be
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
47 managed. For example,
9880
7f77e5081e83 Add ftp objects
David Bateman <dbateman@free.fr>
parents: 9873
diff changeset
48
10118
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
49 fp = ftp ("ftp.octave.org);
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
50 cd (fp, "gnu/octave");
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
51 mget (fp, "octave-3.2.3.tar.bz2");
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
52 close (fp);
9880
7f77e5081e83 Add ftp objects
David Bateman <dbateman@free.fr>
parents: 9873
diff changeset
53
10118
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
54 ** The default behavior of `assert (observed, expected)' has been
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
55 relaxed to employ less strict checking that does not require the
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
56 internals of the values to match. This avoids previously valid
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
57 tests from breaking due to new internal classes introduced in future
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
58 Octave versions.
9449
a35d8ec8a0c4 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9408
diff changeset
59
a35d8ec8a0c4 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9408
diff changeset
60 For instance, all of these assertions were true in Octave 3.0.x
a35d8ec8a0c4 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9408
diff changeset
61 but false in 3.2.x due to new optimizations and improvements:
a35d8ec8a0c4 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9408
diff changeset
62
a35d8ec8a0c4 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9408
diff changeset
63 assert (2*linspace (1, 5, 5), 2*(1:5))
a35d8ec8a0c4 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9408
diff changeset
64 assert (zeros (0, 0), [])
a35d8ec8a0c4 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9408
diff changeset
65 assert (2*ones (1, 5), (2) (ones (1,5)))
9462
44e2e568f973 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9449
diff changeset
66
10118
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
67 ** The behavior of library functions `ismatrix', `issquare', and
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
68 `issymmetric' has been changed for better consistency.
9873
b7acf3cb5984 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9830
diff changeset
69
10292
c1246f17119e update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10276
diff changeset
70 * The `ismatrix' function now returns true for all numeric,
c1246f17119e update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10276
diff changeset
71 logical and character 2d or Nd matrices. Previously, `ismatrix'
c1246f17119e update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10276
diff changeset
72 returned false if the first or second dimension was zero.
c1246f17119e update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10276
diff changeset
73 Hence, `ismatrix ([])' was false,
c1246f17119e update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10276
diff changeset
74 while `ismatrix (zeros (1,2,0))' was true.
9873
b7acf3cb5984 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9830
diff changeset
75
10118
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
76 * The `issquare' function now returns a logical scalar, and is
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
77 equivalent to the expression
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
78
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
79 ismatrix (x) && ndims (x) == 2 && rows (x) == columns (x)
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
80
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
81 The dimension is no longer returned. As a result, `issquare ([])'
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
82 now yields true.
9873
b7acf3cb5984 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9830
diff changeset
83
10118
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
84 * The `issymmetric' function now checks for symmetry instead of
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
85 hermitianness. For the latter, ishermitian was created. Also,
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
86 logical scalar is returned rather than the dimension, so
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
87 `issymmetric ([])' is now true.
9873
b7acf3cb5984 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9830
diff changeset
88
10118
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
89 ** Function handles are now aware of overloaded functions. If a
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
90 function is overloaded, the handle determines at the time of its
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
91 reference which function to call. A non-overloaded version does not
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
92 need to exist.
9873
b7acf3cb5984 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9830
diff changeset
93
10118
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
94 ** Overloading functions for built-in classes (double, int8, cell,
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
95 etc.) is now compatible with Matlab.
9408
6729708602ca NEWS update
Jaroslav Hajek <highegg@gmail.com>
parents: 9407
diff changeset
96
10323
ee93dbfba45b update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10292
diff changeset
97 ** Function handles can now be compared with the == and != operators,
ee93dbfba45b update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10292
diff changeset
98 as well as the `isequal' function.
ee93dbfba45b update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10292
diff changeset
99
10118
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
100 ** Performance of concatenation (using []) and the functions `cat',
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
101 `horzcat', and `vertcat' has been improved for multidimensional
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
102 arrays.
10117
b9ea485bdfdb update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10109
diff changeset
103
9547
588c6bb6fdcb update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9480
diff changeset
104 ** The operation-assignment operators +=, -=, *= and /= now behave more
10118
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
105 efficiently in certain cases. For instance, if M is a matrix and S a
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
106 scalar, then the statement
9547
588c6bb6fdcb update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9480
diff changeset
107
10118
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
108 M += S;
9547
588c6bb6fdcb update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9480
diff changeset
109
10118
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
110 will operate on M's data in-place if it is not shared by another
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
111 variable, usually increasing both time and memory efficiency.
9547
588c6bb6fdcb update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9480
diff changeset
112
9558
8b3cee6166b8 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9552
diff changeset
113 Only selected common combinations are affected, namely:
9547
588c6bb6fdcb update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9480
diff changeset
114
588c6bb6fdcb update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9480
diff changeset
115 matrix += matrix
588c6bb6fdcb update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9480
diff changeset
116 matrix -= matrix
9558
8b3cee6166b8 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9552
diff changeset
117 matrix .*= matrix
8b3cee6166b8 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9552
diff changeset
118 matrix ./= matrix
8b3cee6166b8 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9552
diff changeset
119
9547
588c6bb6fdcb update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9480
diff changeset
120 matrix += scalar
588c6bb6fdcb update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9480
diff changeset
121 matrix -= scalar
588c6bb6fdcb update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9480
diff changeset
122 matrix *= scalar
588c6bb6fdcb update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9480
diff changeset
123 matrix /= scalar
9558
8b3cee6166b8 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9552
diff changeset
124
9552
ded32956d660 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9547
diff changeset
125 logical matrix |= logical matrix
ded32956d660 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9547
diff changeset
126 logical matrix &= logical matrix
9547
588c6bb6fdcb update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9480
diff changeset
127
10118
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
128 where matrix and scalar belong to the same class. The left-hand
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
129 side must be a simple variable reference.
9888
cee6c63cff32 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9880
diff changeset
130
10118
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
131 Moreover, when unary operators occur in expressions, Octave will
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
132 also try to do the operation in-place if it's argument is a
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
133 temporary expresssion.
9589
8e42bb4ad34d update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9558
diff changeset
134
10118
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
135 ** The effect of comparison operators (<, >, <=, and >=) applied to
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
136 complex numbers has changed to be consistent with the strict
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
137 ordering defined by the `max', `min', and `sort' functions. More
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
138 specifically, complex numbers are compared by lexicographical
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
139 comparison of the pairs `[abs(z), arg(z)]'. Previously, only real
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
140 parts were compared; this can be trivially achieved by wrapping the
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
141 operands in real().
9547
588c6bb6fdcb update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9480
diff changeset
142
10118
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
143 ** The automatic simplification of complex computation results has
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
144 changed. Octave will now simplify any complex number with a zero
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
145 imaginary part or any complex matrix with all elements having zero
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
146 imaginary part to a real value. Previously, this was done only for
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
147 positive zeros. Note that the behavior of the complex function is
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
148 unchanged and it still produces a complex value even if the
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
149 imaginary part is zero.
9826
b2a282c37217 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9799
diff changeset
150
10118
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
151 ** As a side effect of code refactoring in liboctave, the binary
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
152 logical operations are now more easily amenable to compiler
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
153 optimizations and are thus significantly faster.
9595
dbd0c0f82480 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9589
diff changeset
154
10118
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
155 ** Octave now allows user-defined `subsasgn' methods to optimize out
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
156 redundant copies. For more information, see the manual.
9595
dbd0c0f82480 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9589
diff changeset
157
10453
7d23c19249d6 NEWS: style fixes
John W. Eaton <jwe@octave.org>
parents: 10437
diff changeset
158 ** More efficient matrix division handling. Octave is now able to
10118
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
159 handle the expressions
9664
2c5169034035 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9609
diff changeset
160
10118
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
161 M' \ V
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
162 M.' \ V
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
163 V / M
9664
2c5169034035 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9609
diff changeset
164
10118
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
165 (M is a matrix and V is a vector) more efficiently in certain cases.
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
166 In particular, if M is triangular, all three expressions will be
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
167 handled by a single call to xTRTRS (from LAPACK), with appropriate
10453
7d23c19249d6 NEWS: style fixes
John W. Eaton <jwe@octave.org>
parents: 10437
diff changeset
168 flags. Previously, all three expressions required a physical
10118
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
169 transpose of M.
9664
2c5169034035 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9609
diff changeset
170
10118
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
171 ** More efficient handling of certain mixed real-complex matrix
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
172 operations. For instance, if RM is a real matrix and CM a complex
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
173 matrix,
9664
2c5169034035 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9609
diff changeset
174
10118
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
175 RM * CM
9664
2c5169034035 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9609
diff changeset
176
2c5169034035 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9609
diff changeset
177 can now be evaluated either as
2c5169034035 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9609
diff changeset
178
2c5169034035 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9609
diff changeset
179 complex (RM * real (CM), RM * imag (CM))
2c5169034035 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9609
diff changeset
180
2c5169034035 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9609
diff changeset
181 or as
2c5169034035 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9609
diff changeset
182
2c5169034035 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9609
diff changeset
183 complex (RM) * CM,
2c5169034035 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9609
diff changeset
184
10453
7d23c19249d6 NEWS: style fixes
John W. Eaton <jwe@octave.org>
parents: 10437
diff changeset
185 depending on the dimensions. The first form requires more
7d23c19249d6 NEWS: style fixes
John W. Eaton <jwe@octave.org>
parents: 10437
diff changeset
186 temporaries and copying, but halves the FLOP count, which normally
7d23c19249d6 NEWS: style fixes
John W. Eaton <jwe@octave.org>
parents: 10437
diff changeset
187 brings better performance if RM has enough rows. Previously, the
7d23c19249d6 NEWS: style fixes
John W. Eaton <jwe@octave.org>
parents: 10437
diff changeset
188 second form was always used.
9664
2c5169034035 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9609
diff changeset
189
2c5169034035 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9609
diff changeset
190 Matrix division is similarly affected.
2c5169034035 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9609
diff changeset
191
10118
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
192 ** More efficient handling of triangular matrix factors returned from
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
193 factorizations. The functions for computing QR, LU and Cholesky
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
194 factorizations will now automatically return the triangular matrix
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
195 factors with proper internal matrix_type set, so that it won't need
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
196 to be computed when the matrix is used for division.
9717
4fd71e875120 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9664
diff changeset
197
10118
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
198 ** The built-in `sum' function now handles the non-native summation
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
199 (i.e., double precision sum of single or integer inputs) more
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
200 efficiently, avoiding a temporary conversion of the whole input
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
201 array to doubles. Further, `sum' can now accept an extra option
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
202 argument, using a compensated summation algorithm rather than a
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
203 straightforward sum, which significantly improves precision if lots
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
204 of cancellation occurs in the summation.
9717
4fd71e875120 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9664
diff changeset
205
10118
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
206 ** The built-in `bsxfun' function now uses optimized code for certain
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
207 cases where built-in operator handles are passed in. Namely, the
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
208 optimizations concern the operators `plus', `minus', `times',
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
209 `ldivide', `rdivide', `power', `and', `or' (for logical arrays),
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
210 the relational operators `eq', `ne', `lt', `le', `gt', `ge', and the
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
211 functions `min' and `max'. Optimizations only apply when both
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
212 operands are of the same built-in class. Mixed real/complex and
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
213 single/double operations will first convert both operands to a
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
214 common type.
9745
30d62079c493 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9722
diff changeset
215
10118
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
216 ** The `strfind' and `strrep' functions now have compiled
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
217 implementations, facilitating significantly more efficient searching
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
218 and replacing in strings, especially with longer patterns. The code
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
219 of `strcat' has been vectorized and is now much more efficient when
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
220 many strings are concatenated. The `strcmpi' and `strncmpi'
4de5c28733d5 edit NEWS file
John W. Eaton <jwe@octave.org>
parents: 10117
diff changeset
221 functions are now built-in functions, providing better performance.
10208
c54ee101d13c update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10118
diff changeset
222
10453
7d23c19249d6 NEWS: style fixes
John W. Eaton <jwe@octave.org>
parents: 10437
diff changeset
223 ** Matlab-style ignoring input and output function arguments using
10886
9993f1354713 update news
Jaroslav Hajek <highegg@gmail.com>
parents: 10873
diff changeset
224 tilde (~) is now supported. Ignored output arguments may be detected
9993f1354713 update news
Jaroslav Hajek <highegg@gmail.com>
parents: 10873
diff changeset
225 from a function using the built-in function `isargout'.
9993f1354713 update news
Jaroslav Hajek <highegg@gmail.com>
parents: 10873
diff changeset
226 For more details, consult the manual.
9993f1354713 update news
Jaroslav Hajek <highegg@gmail.com>
parents: 10873
diff changeset
227
10453
7d23c19249d6 NEWS: style fixes
John W. Eaton <jwe@octave.org>
parents: 10437
diff changeset
228 ** The list datatype, deprecated since the introduction of cells, has
7d23c19249d6 NEWS: style fixes
John W. Eaton <jwe@octave.org>
parents: 10437
diff changeset
229 been removed.
10276
ad6af249c20e update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10233
diff changeset
230
10453
7d23c19249d6 NEWS: style fixes
John W. Eaton <jwe@octave.org>
parents: 10437
diff changeset
231 ** The accumarray function has been optimized and is now significantly
7d23c19249d6 NEWS: style fixes
John W. Eaton <jwe@octave.org>
parents: 10437
diff changeset
232 faster in certain important cases.
10054
8f7f325fa678 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 9888
diff changeset
233
10292
c1246f17119e update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10276
diff changeset
234 ** The behavior of isreal and isnumeric functions was changed to be more
c1246f17119e update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10276
diff changeset
235 Matlab-compatible.
c1246f17119e update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10276
diff changeset
236
10406
0c8d2278c57f update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10323
diff changeset
237 ** The integer math & conversion warnings (Octave:int-convert-nan,
0c8d2278c57f update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10323
diff changeset
238 Octave:int-convert-non-int-val, Octave:int-convert-overflow,
0c8d2278c57f update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10323
diff changeset
239 Octave:int-math-overflow) have been removed.
0c8d2278c57f update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10323
diff changeset
240
10453
7d23c19249d6 NEWS: style fixes
John W. Eaton <jwe@octave.org>
parents: 10437
diff changeset
241 ** rem and mod are now built-in functions. They also handle integer
7d23c19249d6 NEWS: style fixes
John W. Eaton <jwe@octave.org>
parents: 10437
diff changeset
242 types efficiently using integer arithmetic.
10437
0a210203481b update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10406
diff changeset
243
10536
74cb77f0a163 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10522
diff changeset
244 ** Sparse indexing and indexed assignment has been mostly rewritten.
74cb77f0a163 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10522
diff changeset
245 Since Octave uses compressed column storage for sparse matrices,
74cb77f0a163 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10522
diff changeset
246 major attention is devoted to operations manipulating whole columns.
74cb77f0a163 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10522
diff changeset
247 Such operations are now significantly faster, as well as some other
74cb77f0a163 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10522
diff changeset
248 important cases.
74cb77f0a163 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10522
diff changeset
249
74cb77f0a163 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10522
diff changeset
250 Further, it is now possible to pre-allocate a sparse matrix and
74cb77f0a163 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10522
diff changeset
251 subsequently fill it by assignments, provided they meet certain
74cb77f0a163 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10522
diff changeset
252 conditions. For more information, consult the `spalloc' function,
74cb77f0a163 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10522
diff changeset
253 which is no longer a mere dummy. Consequently, nzmax and nnz are no
74cb77f0a163 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10522
diff changeset
254 longer always equal in Octave. Octave may also produce a matrix with
74cb77f0a163 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10522
diff changeset
255 nnz < nzmax as a result of other operations, so you should
74cb77f0a163 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10522
diff changeset
256 consistently use nnz unless you really want to use nzmax
74cb77f0a163 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10522
diff changeset
257 (i.e. the space allocated for nonzero elements).
74cb77f0a163 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10522
diff changeset
258
74cb77f0a163 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10522
diff changeset
259 Sparse concatenation is also affected, and concatenating sparse
74cb77f0a163 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10522
diff changeset
260 matrices, especially larger collections, is now significantly more
74cb77f0a163 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10522
diff changeset
261 efficient. This applies to both the [] operator and the
74cb77f0a163 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10522
diff changeset
262 cat/vertcat/horzcat functions.
74cb77f0a163 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10522
diff changeset
263
10639
a52cc4f6ebfc update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10536
diff changeset
264 ** It is now possible to optionally employ the xGESDD LAPACK drivers for
a52cc4f6ebfc update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10536
diff changeset
265 computing the singular value decomposition using svd(), instead of
a52cc4f6ebfc update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10536
diff changeset
266 the default xGESVD, using the configuration pseudo-variable
a52cc4f6ebfc update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10536
diff changeset
267 svd_driver. The xGESDD driver can be up to 6x times faster when
a52cc4f6ebfc update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10536
diff changeset
268 singular vectors are requested, but is reported to be somewhat less
a52cc4f6ebfc update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10536
diff changeset
269 robust on highly ill-conditioned matrices.
a52cc4f6ebfc update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10536
diff changeset
270
a52cc4f6ebfc update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10536
diff changeset
271 ** Configuration pseudo-variables, such as page_screen_output or
a52cc4f6ebfc update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10536
diff changeset
272 confirm_recursive_rmdir (or the above mentioned svd_driver), now
a52cc4f6ebfc update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10536
diff changeset
273 accept a "local" option as second argument, requesting the change
a52cc4f6ebfc update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10536
diff changeset
274 to be undone when current function returns:
a52cc4f6ebfc update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10536
diff changeset
275
a52cc4f6ebfc update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10536
diff changeset
276 function [status, msg] = rm_rf (dir)
a52cc4f6ebfc update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10536
diff changeset
277 confirm_recursive_rmdir (false, "local");
a52cc4f6ebfc update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10536
diff changeset
278 [status, msg] = rmdir (dir, "s");
a52cc4f6ebfc update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10536
diff changeset
279 ...
a52cc4f6ebfc update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10536
diff changeset
280 endfunction
a52cc4f6ebfc update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10536
diff changeset
281
a52cc4f6ebfc update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10536
diff changeset
282 Upon return, confirm_recursive_rmdir will be restored to the value
a52cc4f6ebfc update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10536
diff changeset
283 it had on entry to the function, even if there were subsequent
a52cc4f6ebfc update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10536
diff changeset
284 changes to the variable in function rm_rf or any of the functions
a52cc4f6ebfc update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10536
diff changeset
285 it calls.
a52cc4f6ebfc update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10536
diff changeset
286
10774
cfb13443434f update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10639
diff changeset
287 ** pkg now accepts a -forge option for downloading and installing packages
cfb13443434f update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10639
diff changeset
288 from OctaveForge automatically. For example,
cfb13443434f update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10639
diff changeset
289
cfb13443434f update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10639
diff changeset
290 pkg install -forge general
cfb13443434f update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10639
diff changeset
291
cfb13443434f update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10639
diff changeset
292 will automatically download the latest release of the general package and
cfb13443434f update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10639
diff changeset
293 attempt to install it. No automatic resolving of dependencies is provided.
cfb13443434f update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10639
diff changeset
294 Further,
10639
a52cc4f6ebfc update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10536
diff changeset
295
10774
cfb13443434f update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10639
diff changeset
296 pkg list -forge
cfb13443434f update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10639
diff changeset
297
cfb13443434f update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10639
diff changeset
298 can be used to list all available packages.
cfb13443434f update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10639
diff changeset
299
cfb13443434f update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10639
diff changeset
300 ** The internal data representation of structs has been completely rewritten
cfb13443434f update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10639
diff changeset
301 to make certain optimizations feasible. The field data can now be shared
cfb13443434f update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10639
diff changeset
302 between structs with equal keys but different dimensions or values, making
cfb13443434f update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10639
diff changeset
303 operations that preserve the fields faster. Economized storage is now used
cfb13443434f update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10639
diff changeset
304 for scalar structs (just like most other scalars), making their usage more
cfb13443434f update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10639
diff changeset
305 memory-efficient. Certain array-like operations on structs (concatenation,
cfb13443434f update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10639
diff changeset
306 uniform cellfun, num2cell) have gained a significant speed-up.
cfb13443434f update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10639
diff changeset
307 Additionally, the octave_scalar_map class now provides a simpler interface
cfb13443434f update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10639
diff changeset
308 to work with scalar structs within a C++ DLD function.
10639
a52cc4f6ebfc update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10536
diff changeset
309
10776
062304bd692e Update NEWS with description of new engineering format for numbers.
Rik <octave@nomad.inbox5.com>
parents: 10774
diff changeset
310 ** Two new formats are available for displaying numbers:
062304bd692e Update NEWS with description of new engineering format for numbers.
Rik <octave@nomad.inbox5.com>
parents: 10774
diff changeset
311 format short eng
062304bd692e Update NEWS with description of new engineering format for numbers.
Rik <octave@nomad.inbox5.com>
parents: 10774
diff changeset
312 format long eng
062304bd692e Update NEWS with description of new engineering format for numbers.
Rik <octave@nomad.inbox5.com>
parents: 10774
diff changeset
313 Both display numbers in engineering notation, i.e., mantissa + exponent
062304bd692e Update NEWS with description of new engineering format for numbers.
Rik <octave@nomad.inbox5.com>
parents: 10774
diff changeset
314 where the exponent is a multiple of 3.
062304bd692e Update NEWS with description of new engineering format for numbers.
Rik <octave@nomad.inbox5.com>
parents: 10774
diff changeset
315
10829
61cb53ae9db3 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10776
diff changeset
316 ** The following new functions were added:
61cb53ae9db3 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10776
diff changeset
317
10904
69a2e9ccb2fb NEWS: Add randi to list of new functions
Rik <octave@nomad.inbox5.com>
parents: 10886
diff changeset
318 accumdim erfcx luupdate ppder rsf2csf
69a2e9ccb2fb NEWS: Add randi to list of new functions
Rik <octave@nomad.inbox5.com>
parents: 10886
diff changeset
319 bitpack fileread merge ppint sizemax
69a2e9ccb2fb NEWS: Add randi to list of new functions
Rik <octave@nomad.inbox5.com>
parents: 10886
diff changeset
320 bitunpack fminbnd nfields ppjumps strread
69a2e9ccb2fb NEWS: Add randi to list of new functions
Rik <octave@nomad.inbox5.com>
parents: 10886
diff changeset
321 blkmm fskipl nth_element pqpnonneg textread
69a2e9ccb2fb NEWS: Add randi to list of new functions
Rik <octave@nomad.inbox5.com>
parents: 10886
diff changeset
322 cbrt ifelse onCleanup randi whitebg
69a2e9ccb2fb NEWS: Add randi to list of new functions
Rik <octave@nomad.inbox5.com>
parents: 10886
diff changeset
323 chop ishermitian pbaspect repelems
69a2e9ccb2fb NEWS: Add randi to list of new functions
Rik <octave@nomad.inbox5.com>
parents: 10886
diff changeset
324 daspect isindex powerset reset
11109
41d18f6342f9 remove image_viewer function
John W. Eaton <jwe@octave.org>
parents: 10966
diff changeset
325
41d18f6342f9 remove image_viewer function
John W. Eaton <jwe@octave.org>
parents: 10966
diff changeset
326 ** Using the image function to view images with external programs such
41d18f6342f9 remove image_viewer function
John W. Eaton <jwe@octave.org>
parents: 10966
diff changeset
327 as display, xv, and xloadimage is no longer supported. The
41d18f6342f9 remove image_viewer function
John W. Eaton <jwe@octave.org>
parents: 10966
diff changeset
328 image_viewer function has also been removed.
41d18f6342f9 remove image_viewer function
John W. Eaton <jwe@octave.org>
parents: 10966
diff changeset
329
10873
8f17e3309a82 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10829
diff changeset
330 ** The behavior of struct assignments to non-struct values has been changed.
8f17e3309a82 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10829
diff changeset
331 Previously, it was possible to overwrite an arbitrary value:
8f17e3309a82 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10829
diff changeset
332
8f17e3309a82 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10829
diff changeset
333 a = 1;
8f17e3309a82 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10829
diff changeset
334 a.x = 2;
8f17e3309a82 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10829
diff changeset
335
8f17e3309a82 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10829
diff changeset
336 This is no longer possible unless a is an empty matrix or cell array.
10938
300636502235 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10904
diff changeset
337
300636502235 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10904
diff changeset
338 ** By popular demand, dlmread has been extended to allow specifying a custom
300636502235 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10904
diff changeset
339 value for empty fields and also to accept file IDs opened by fopen. Likewise,
300636502235 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10904
diff changeset
340 dlmwrite can write to file IDs.
10829
61cb53ae9db3 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10776
diff changeset
341
10966
07b4cd795742 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10938
diff changeset
342 ** Octave can now optimize away the interpreter overhead of an anonymous function
07b4cd795742 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10938
diff changeset
343 handle, if the function simply calls another function or handle with some of its
07b4cd795742 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10938
diff changeset
344 parameters bound to certain values. Example:
07b4cd795742 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10938
diff changeset
345
07b4cd795742 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10938
diff changeset
346 f = @(x) sum (x, 1);
07b4cd795742 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10938
diff changeset
347
07b4cd795742 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10938
diff changeset
348 When f is called, the call is forwarded to @sum with the constant 1 appended, and
07b4cd795742 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10938
diff changeset
349 the anonymous function call does not occur on the call stack.
10829
61cb53ae9db3 update NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 10776
diff changeset
350
7990
86dae6e5b83c Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents: 7279
diff changeset
351 Summary of important user-visible changes for version 3.2:
5913
e915287e3ef9 [project @ 2006-07-28 17:06:14 by jwe]
jwe
parents: 5814
diff changeset
352 ---------------------------------------------------------
2452
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
353
8737
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
354 ** Compatibility with Matlab graphics has been improved.
6329
1d4b4312f782 [project @ 2007-02-20 06:37:09 by jwe]
jwe
parents: 5995
diff changeset
355
8070
3b53b25e2550 Add data sources and line series
David Bateman <dbateman@free.fr>
parents: 8014
diff changeset
356 The hggroup object and associated listener callback functions have
8737
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
357 been added allowing the inclusion of group objects. Data sources
8070
3b53b25e2550 Add data sources and line series
David Bateman <dbateman@free.fr>
parents: 8014
diff changeset
358 have been added to these group objects such that
3b53b25e2550 Add data sources and line series
David Bateman <dbateman@free.fr>
parents: 8014
diff changeset
359
3b53b25e2550 Add data sources and line series
David Bateman <dbateman@free.fr>
parents: 8014
diff changeset
360 x = 0:0.1:10;
3b53b25e2550 Add data sources and line series
David Bateman <dbateman@free.fr>
parents: 8014
diff changeset
361 y = sin (x);
3b53b25e2550 Add data sources and line series
David Bateman <dbateman@free.fr>
parents: 8014
diff changeset
362 plot (x, y, "ydatasource", "y");
3b53b25e2550 Add data sources and line series
David Bateman <dbateman@free.fr>
parents: 8014
diff changeset
363 for i = 1 : 100
3b53b25e2550 Add data sources and line series
David Bateman <dbateman@free.fr>
parents: 8014
diff changeset
364 pause(0.1)
3b53b25e2550 Add data sources and line series
David Bateman <dbateman@free.fr>
parents: 8014
diff changeset
365 y = sin (x + 0.1 * i);
3b53b25e2550 Add data sources and line series
David Bateman <dbateman@free.fr>
parents: 8014
diff changeset
366 refreshdata();
3b53b25e2550 Add data sources and line series
David Bateman <dbateman@free.fr>
parents: 8014
diff changeset
367 endfor
3b53b25e2550 Add data sources and line series
David Bateman <dbateman@free.fr>
parents: 8014
diff changeset
368
8737
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
369 works as expected. This capability has be used to introduce
9031
1052a66078cf Documentation cleanup of top-level Octave directory (READMEs, INSTALL)
Rik <rdrider0-list@yahoo.com>
parents: 8932
diff changeset
370 stem-series, bar-series, etc., objects for better Matlab
8737
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
371 compatibility.
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
372
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
373 ** New graphics functions:
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
374
9110
22ae6b3411a7 Add isocolor, isonormals and isosurface functions (For Martin Helm). Add 3D filled triangular patches and the trisurf function
David Bateman <dbateman@free.fr>
parents: 9042
diff changeset
375 addlistener ezcontour gcbo refresh
22ae6b3411a7 Add isocolor, isonormals and isosurface functions (For Martin Helm). Add 3D filled triangular patches and the trisurf function
David Bateman <dbateman@free.fr>
parents: 9042
diff changeset
376 addproperty ezcontourf ginput refreshdata
22ae6b3411a7 Add isocolor, isonormals and isosurface functions (For Martin Helm). Add 3D filled triangular patches and the trisurf function
David Bateman <dbateman@free.fr>
parents: 9042
diff changeset
377 allchild ezmesh gtext specular
22ae6b3411a7 Add isocolor, isonormals and isosurface functions (For Martin Helm). Add 3D filled triangular patches and the trisurf function
David Bateman <dbateman@free.fr>
parents: 9042
diff changeset
378 available_backends ezmeshc intwarning surfl
22ae6b3411a7 Add isocolor, isonormals and isosurface functions (For Martin Helm). Add 3D filled triangular patches and the trisurf function
David Bateman <dbateman@free.fr>
parents: 9042
diff changeset
379 backend ezplot ishghandle trisurf
22ae6b3411a7 Add isocolor, isonormals and isosurface functions (For Martin Helm). Add 3D filled triangular patches and the trisurf function
David Bateman <dbateman@free.fr>
parents: 9042
diff changeset
380 cla ezplot3 isocolors waitforbuttonpress
22ae6b3411a7 Add isocolor, isonormals and isosurface functions (For Martin Helm). Add 3D filled triangular patches and the trisurf function
David Bateman <dbateman@free.fr>
parents: 9042
diff changeset
381 clabel ezpolar isonormals
22ae6b3411a7 Add isocolor, isonormals and isosurface functions (For Martin Helm). Add 3D filled triangular patches and the trisurf function
David Bateman <dbateman@free.fr>
parents: 9042
diff changeset
382 comet ezsurf isosurface
22ae6b3411a7 Add isocolor, isonormals and isosurface functions (For Martin Helm). Add 3D filled triangular patches and the trisurf function
David Bateman <dbateman@free.fr>
parents: 9042
diff changeset
383 dellistener findall linkprop
22ae6b3411a7 Add isocolor, isonormals and isosurface functions (For Martin Helm). Add 3D filled triangular patches and the trisurf function
David Bateman <dbateman@free.fr>
parents: 9042
diff changeset
384 diffuse gcbf plotmatrix
8070
3b53b25e2550 Add data sources and line series
David Bateman <dbateman@free.fr>
parents: 8014
diff changeset
385
8737
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
386 ** New experimental OpenGL/FLTK based plotting system.
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
387
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
388 An experimental plotting system based on OpenGL and the FLTK
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
389 toolkit is now part of Octave. This backend is disabled by
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
390 default. You can switch to using it with the command
8070
3b53b25e2550 Add data sources and line series
David Bateman <dbateman@free.fr>
parents: 8014
diff changeset
391
3b53b25e2550 Add data sources and line series
David Bateman <dbateman@free.fr>
parents: 8014
diff changeset
392 backend ("fltk")
3b53b25e2550 Add data sources and line series
David Bateman <dbateman@free.fr>
parents: 8014
diff changeset
393
3b53b25e2550 Add data sources and line series
David Bateman <dbateman@free.fr>
parents: 8014
diff changeset
394 for all future figures or for a particular figure with the command
3b53b25e2550 Add data sources and line series
David Bateman <dbateman@free.fr>
parents: 8014
diff changeset
395
3b53b25e2550 Add data sources and line series
David Bateman <dbateman@free.fr>
parents: 8014
diff changeset
396 backend (h, "fltk")
3b53b25e2550 Add data sources and line series
David Bateman <dbateman@free.fr>
parents: 8014
diff changeset
397
8737
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
398 where "h" is a valid figure handle. Please note that this backend
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
399 does not yet support text objects. Obviously, this is a necessary
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
400 feature before it can be considered usable. We are looking for
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
401 volunteers to help implement this missing feature.
8070
3b53b25e2550 Add data sources and line series
David Bateman <dbateman@free.fr>
parents: 8014
diff changeset
402
8737
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
403 ** Functions providing direct access to gnuplot have been removed.
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
404
7990
86dae6e5b83c Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents: 7279
diff changeset
405 The functions __gnuplot_plot__, __gnuplot_set__, __gnuplot_raw__,
86dae6e5b83c Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents: 7279
diff changeset
406 __gnuplot_show__, __gnuplot_replot__, __gnuplot_splot__,
8737
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
407 __gnuplot_save_data__ and __gnuplot_send_inline_data__ have been
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
408 removed from Octave. These function were incompatible with the
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
409 high level graphics handle code.
6329
1d4b4312f782 [project @ 2007-02-20 06:37:09 by jwe]
jwe
parents: 5995
diff changeset
410
8885
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
411 ** The Control, Finance and Quaternion functions have been removed.
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
412
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
413 These functions are now available as separate packages from
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
414
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
415 http://octave.sourceforge.net/packages.html
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
416
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
417 and can be reinstalled using the Octave package manager (see
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
418 the pkg function).
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
419
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
420 ** Specific sparse matrix functions removed.
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
421
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
422 The following functions, which handled only sparse matrices have
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
423 been removed. Instead of calling these functions directly, you
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
424 should use the corresponding function without the "sp" prefix.
8737
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
425
8885
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
426 spatan2 spcumsum spkron spprod
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
427 spchol spdet splchol spqr
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
428 spchol2inv spdiag splu spsum
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
429 spcholinv spfind spmax spsumsqk
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
430 spcumprod spinv spmin
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
431
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
432 ** Improvements to the debugger.
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
433
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
434 The interactive debugging features have been improved. Stopping
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
435 on statements with dbstop should work correctly now. Stepping
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
436 into and over functions, and stepping one statement at a time
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
437 (with dbstep) now works. Moving up and down the call stack with
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
438 dbup and dbdown now works. The dbstack function is now available
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
439 to print the current function call stack. The new dbquit function
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
440 is available to exit the debugging mode.
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
441
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
442 ** Improved traceback error messages.
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
443
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
444 Traceback error messages are much more concise and easier to
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
445 understand. They now display information about the function call
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
446 stack instead of the stack of all statements that were active at
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
447 the point of the error.
8014
44d206ae68c9 improve fsolve compatibility
John W. Eaton <jwe@octave.org>
parents: 7990
diff changeset
448
8737
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
449 ** Object Oriented Programming.
8405
d79dfbff2f9d document new norm features in NEWS
Jaroslav Hajek <highegg@gmail.com>
parents: 8396
diff changeset
450
8737
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
451 Octave now includes OOP features and the user can create their own
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
452 class objects and overloaded functions and operators. For
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
453 example, all methods of a class called "myclass" will be found in
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
454 a directory "@myclass" on the users path. The class specific
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
455 versions of functions and operators take precedence over the
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
456 generic versions of these functions.
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
457
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
458 New functions related to OOP include
7189
e8d953d03f6a [project @ 2007-11-26 20:42:09 by dbateman]
dbateman
parents: 7038
diff changeset
459
8737
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
460 class inferiorto isobject loadobj methods superiorto
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
461
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
462 See the Octave manual for more details.
7038
4482ba9814b7 [project @ 2007-10-19 16:05:48 by jwe]
jwe
parents: 6835
diff changeset
463
8747
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
464 ** Parsing of Command-style Functions.
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
465
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
466 Octave now parses command-style functions without needing to first
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
467 declare them with "mark_as_command". The rules for recognizing a
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
468 command-style function calls are
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
469
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
470 * A command must appear as the first word in a statement,
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
471 followed by a space.
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
472
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
473 * The first character after the space must not be '=' or '('
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
474
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
475 * The next token after the space must not look like a binary
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
476 operator.
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
477
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
478 These rules should be mostly compatible with the way Matlab parses
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
479 command-style function calls and allow users to define commands in
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
480 .m files without having to mark them as commands.
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
481
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
482 Note that previous versions of Octave allowed expressions like
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
483
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
484 x = load -text foo.dat
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
485
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
486 but an expression like this will now generate a parse error. In
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
487 order to assign the value returned by a function to a variable,
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
488 you must use the normal function call syntax:
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
489
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
490 x = load ("-text", "foo.dat");
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
491
8737
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
492 ** Block comments.
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
493
8747
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
494 Commented code can be between matching "#{" and "#}" or "%{" and
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
495 "%}" markers, even if the commented code spans several line. This
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
496 allows blocks code to be commented, without needing to comment
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
497 each line. For example,
5814
67bf9b4f2ae2 [project @ 2006-05-11 21:58:34 by jwe]
jwe
parents: 5798
diff changeset
498
8747
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
499 function [s, t] = func (x, y)
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
500 s = 2 * x;
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
501 #{
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
502 s *= y;
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
503 t = y + x;
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
504 #}
7990
86dae6e5b83c Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents: 7279
diff changeset
505 endfunction
5814
67bf9b4f2ae2 [project @ 2006-05-11 21:58:34 by jwe]
jwe
parents: 5798
diff changeset
506
8747
86cfcf133a19 NEWS update
John W. Eaton <jwe@octave.org>
parents: 8738
diff changeset
507 the lines "s *= y;" and "t = y + x" will not be executed.
8737
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
508
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
509 ** Special treatment in the parser of expressions like "a' * b".
2452
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
510
8737
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
511 In these cases the transpose is no longer explicitly formed and
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
512 BLAS libraries are called with the transpose flagged,
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
513 significantly improving performance for these kinds of
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
514 operations.
8417
654bcfb937bf Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents: 8405
diff changeset
515
8737
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
516 ** Single Precision data type.
2452
a28ed603c65c [project @ 1996-10-31 19:49:29 by jwe]
jwe
parents:
diff changeset
517
8737
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
518 Octave now includes a single precision data type. Single
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
519 precision variables can be created with the "single" command, or
9034
52515efc50c0 Documentation cleanup on NEWS file
Rik <rdrider0-list@yahoo.com>
parents: 9031
diff changeset
520 from functions like ones, eye, etc. For example,
5995
9223672bd578 [project @ 2006-09-21 20:09:44 by jwe]
jwe
parents: 5913
diff changeset
521
8737
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
522 single (1)
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
523 ones (2, 2, "single")
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
524 zeros (2, 2, "single")
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
525 eye (2, 2, "single")
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
526 Inf (2, 2, "single")
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
527 NaN (2, 2, "single")
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
528 NA (2, 2, "single")
7279
72b5e1701da2 [project @ 2007-12-10 21:01:48 by jwe]
jwe
parents: 7189
diff changeset
529
8737
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
530 all create single precision variables. For compatibility with
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
531 Matlab, mixed double/single precision operators and functions
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
532 return single precision types.
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
533
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
534 As a consequence of this addition to Octave the internal
7990
86dae6e5b83c Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents: 7279
diff changeset
535 representation of the double precision NA value has changed, and
86dae6e5b83c Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents: 7279
diff changeset
536 so users that make use of data generated by Octave with R or
86dae6e5b83c Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents: 7279
diff changeset
537 visa-versa are warned that compatibility might not be assured.
7279
72b5e1701da2 [project @ 2007-12-10 21:01:48 by jwe]
jwe
parents: 7189
diff changeset
538
8737
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
539 ** Improved array indexing.
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
540
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
541 The underlying code used for indexing of arrays has been
9034
52515efc50c0 Documentation cleanup on NEWS file
Rik <rdrider0-list@yahoo.com>
parents: 9031
diff changeset
542 completely rewritten and indexing is now significantly faster.
8737
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
543
8755
59c0fde890a0 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8749
diff changeset
544 ** Improved memory management.
59c0fde890a0 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8749
diff changeset
545
59c0fde890a0 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8749
diff changeset
546 Octave will now attempt to share data in some cases where previously
59c0fde890a0 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8749
diff changeset
547 a copy would be made, such as certain array slicing operations or
9031
1052a66078cf Documentation cleanup of top-level Octave directory (READMEs, INSTALL)
Rik <rdrider0-list@yahoo.com>
parents: 8932
diff changeset
548 conversions between cells, structs and cs-lists. This usually reduces
8755
59c0fde890a0 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8749
diff changeset
549 both time and memory consumption.
9128
c71fe7045aa0 small NEWS update
Jaroslav Hajek <highegg@gmail.com>
parents: 9110
diff changeset
550 Also, Octave will now attempt to detect and optimize usage of a vector
c71fe7045aa0 small NEWS update
Jaroslav Hajek <highegg@gmail.com>
parents: 9110
diff changeset
551 as a stack, when elements are being repeatedly inserted at/removed from
c71fe7045aa0 small NEWS update
Jaroslav Hajek <highegg@gmail.com>
parents: 9110
diff changeset
552 the end of the vector.
8755
59c0fde890a0 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8749
diff changeset
553
8738
c32e710407ee NEWS: another update
John W. Eaton <jwe@octave.org>
parents: 8737
diff changeset
554 ** Improved performance for reduction operations.
c32e710407ee NEWS: another update
John W. Eaton <jwe@octave.org>
parents: 8737
diff changeset
555
8755
59c0fde890a0 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8749
diff changeset
556 The performance of the sum, prod, sumsq, cumsum, cumprod, any, all,
59c0fde890a0 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8749
diff changeset
557 max and min functions has been significantly improved.
8738
c32e710407ee NEWS: another update
John W. Eaton <jwe@octave.org>
parents: 8737
diff changeset
558
9006
979d0492ff40 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8932
diff changeset
559 ** Sorting and searching.
979d0492ff40 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8932
diff changeset
560
979d0492ff40 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8932
diff changeset
561 The performance of sort has been improved, especially when sorting
10453
7d23c19249d6 NEWS: style fixes
John W. Eaton <jwe@octave.org>
parents: 10437
diff changeset
562 indices are requested. An efficient built-in issorted
7d23c19249d6 NEWS: style fixes
John W. Eaton <jwe@octave.org>
parents: 10437
diff changeset
563 implementation was added. The sortrows function now uses a more
7d23c19249d6 NEWS: style fixes
John W. Eaton <jwe@octave.org>
parents: 10437
diff changeset
564 efficient algorithm, especially in the homegeneous case. The lookup
7d23c19249d6 NEWS: style fixes
John W. Eaton <jwe@octave.org>
parents: 10437
diff changeset
565 function is now a built-in function performing a binary search,
7d23c19249d6 NEWS: style fixes
John W. Eaton <jwe@octave.org>
parents: 10437
diff changeset
566 optimized for long runs of close elements. Lookup also works with
7d23c19249d6 NEWS: style fixes
John W. Eaton <jwe@octave.org>
parents: 10437
diff changeset
567 cell arrays of strings.
9006
979d0492ff40 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8932
diff changeset
568
979d0492ff40 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8932
diff changeset
569 ** Range arithmetics
979d0492ff40 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8932
diff changeset
570
10453
7d23c19249d6 NEWS: style fixes
John W. Eaton <jwe@octave.org>
parents: 10437
diff changeset
571 For some operations on ranges, Octave will attempt to keep the
7d23c19249d6 NEWS: style fixes
John W. Eaton <jwe@octave.org>
parents: 10437
diff changeset
572 result as a range. These include negation, adding a scalar,
7d23c19249d6 NEWS: style fixes
John W. Eaton <jwe@octave.org>
parents: 10437
diff changeset
573 subtracting a scalar, and multiplying by a scalar. Ranges with zero
7d23c19249d6 NEWS: style fixes
John W. Eaton <jwe@octave.org>
parents: 10437
diff changeset
574 increment are allowed and can be constructed using the built-in
7d23c19249d6 NEWS: style fixes
John W. Eaton <jwe@octave.org>
parents: 10437
diff changeset
575 function `ones'.
9006
979d0492ff40 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8932
diff changeset
576
979d0492ff40 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8932
diff changeset
577 ** Various performance improvements.
979d0492ff40 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8932
diff changeset
578
10453
7d23c19249d6 NEWS: style fixes
John W. Eaton <jwe@octave.org>
parents: 10437
diff changeset
579 Performance of a number of other built-in operations and functions
7d23c19249d6 NEWS: style fixes
John W. Eaton <jwe@octave.org>
parents: 10437
diff changeset
580 was improved, including:
9006
979d0492ff40 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8932
diff changeset
581
979d0492ff40 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8932
diff changeset
582 * logical operations
979d0492ff40 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8932
diff changeset
583 * comparison operators
979d0492ff40 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8932
diff changeset
584 * element-wise power
979d0492ff40 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8932
diff changeset
585 * accumarray
979d0492ff40 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8932
diff changeset
586 * cellfun
979d0492ff40 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8932
diff changeset
587 * isnan
979d0492ff40 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8932
diff changeset
588 * isinf
979d0492ff40 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8932
diff changeset
589 * isfinite
979d0492ff40 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8932
diff changeset
590 * nchoosek
979d0492ff40 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8932
diff changeset
591 * repmat
979d0492ff40 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8932
diff changeset
592 * strcmp
979d0492ff40 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8932
diff changeset
593
8737
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
594 ** 64-bit integer arithmetic.
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
595
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
596 Arithmetic with 64-bit integers (int64 and uint64 types) is fully
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
597 supported, with saturation semantics like the other integer types.
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
598 Performance of most integer arithmetic operations has been
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
599 improved by using integer arithmetic directly. Previously, Octave
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
600 performed integer math with saturation semantics by converting the
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
601 operands to double precision, performing the operation, and then
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
602 converting the result back to an integer value, truncating if
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
603 necessary.
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
604
8885
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
605 ** Diagonal and permutation matrices.
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
606
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
607 The interpreter can now treat diagonal and permutation matrices as
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
608 special objects that store only the non-zero elements, rather than
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
609 general full matrices. Therefore, it is now possible to construct
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
610 and use these matrices in linear algebra without suffering a
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
611 performance penalty due to storing large numbers of zero elements.
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
612
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
613 ** Improvements to fsolve.
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
614
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
615 The fsolve function now accepts an option structure argument (see
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
616 also the optimset function). The INFO values returned from fsolve
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
617 have changed to be compatible with Matlab's fsolve function.
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
618 Additionally, fsolve is now able to solve overdetermined systems,
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
619 complex-differentiable complex systems, systems with a sparse
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
620 jacobian and can work in single precision if given single precision
9031
1052a66078cf Documentation cleanup of top-level Octave directory (READMEs, INSTALL)
Rik <rdrider0-list@yahoo.com>
parents: 8932
diff changeset
621 inputs. It can also be called recursively.
8885
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
622
8737
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
623 ** Improvements to the norm function.
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
624
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
625 The norm function is now able to compute row or column norms of a
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
626 matrix in a single call, as well as general matrix p-norms.
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
627
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
628 ** New functions for computing some eigenvalues or singular values.
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
629
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
630 The eigs and svds functions have been included in Octave. These
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
631 functions require the ARPACK library (now distributed under a
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
632 GPL-compatible license).
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
633
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
634 ** New QR and Cholesky factorization updating functions.
8370
34960ba08a81 document more new features in the NEWS file
Jaroslav Hajek <highegg@gmail.com>
parents: 8292
diff changeset
635
8737
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
636 choldelete cholshift qrdelete qrshift
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
637 cholinsert cholupdate qrinsert qrupdate
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
638
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
639 ** New quadrature functions.
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
640
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
641 dblquad quadgk quadv triplequad
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
642
8885
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
643 ** New functions for reading and writing images.
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
644
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
645 The imwrite and imread functions have been included in Octave.
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
646 These functions require the GraphicsMagick library. The new
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
647 function imfinfo provides information about an image file (size,
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
648 type, colors, etc.)
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
649
9215
1500d0197484 allow multiple input event hook functions to be installed simultaneously
John W. Eaton <jwe@octave.org>
parents: 9128
diff changeset
650 ** The input_event_hook function has been replaced by the pair of
1500d0197484 allow multiple input event hook functions to be installed simultaneously
John W. Eaton <jwe@octave.org>
parents: 9128
diff changeset
651 functions add_input_event_hook and remove_input_event_hook so that
1500d0197484 allow multiple input event hook functions to be installed simultaneously
John W. Eaton <jwe@octave.org>
parents: 9128
diff changeset
652 more than one hook function may be installed at a time.
1500d0197484 allow multiple input event hook functions to be installed simultaneously
John W. Eaton <jwe@octave.org>
parents: 9128
diff changeset
653
8737
ae51dc447bab NEWS: update for release
John W. Eaton <jwe@octave.org>
parents: 8439
diff changeset
654 ** Other miscellaneous new functions.
8370
34960ba08a81 document more new features in the NEWS file
Jaroslav Hajek <highegg@gmail.com>
parents: 8292
diff changeset
655
8932
2d0f8692a82e Add the 'histc' function
Soren Hauberg <hauberg@gmail.com>
parents: 8888
diff changeset
656 addtodate hypot reallog
2d0f8692a82e Add the 'histc' function
Soren Hauberg <hauberg@gmail.com>
parents: 8888
diff changeset
657 bicgstab idivide realpow
9006
979d0492ff40 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8932
diff changeset
658 cellslices info realsqrt
979d0492ff40 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8932
diff changeset
659 cgs interp1q rectint
979d0492ff40 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8932
diff changeset
660 command_line_path isdebugmode regexptranslate
979d0492ff40 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8932
diff changeset
661 contrast isfloat restoredefaultpath
979d0492ff40 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8932
diff changeset
662 convn isstrprop roundb
979d0492ff40 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8932
diff changeset
663 cummin log1p rundemos
979d0492ff40 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8932
diff changeset
664 cummax lsqnonneg runlength
979d0492ff40 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8932
diff changeset
665 datetick matlabroot saveobj
979d0492ff40 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8932
diff changeset
666 display namelengthmax spaugment
979d0492ff40 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8932
diff changeset
667 expm1 nargoutchk strchr
979d0492ff40 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8932
diff changeset
668 filemarker pathdef strvcat
979d0492ff40 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8932
diff changeset
669 fstat perl subspace
979d0492ff40 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8932
diff changeset
670 full prctile symvar
979d0492ff40 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8932
diff changeset
671 fzero quantile treelayout
979d0492ff40 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8932
diff changeset
672 genvarname re_read_readline_init_file validatestring
979d0492ff40 more NEWS updates
Jaroslav Hajek <highegg@gmail.com>
parents: 8932
diff changeset
673 histc
8370
34960ba08a81 document more new features in the NEWS file
Jaroslav Hajek <highegg@gmail.com>
parents: 8292
diff changeset
674
8885
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
675 ** Changes to strcat.
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
676
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
677 The strcat function is now compatible with Matlab's strcat
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
678 function, which removes trailing whitespace when concatenating
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
679 character strings. For example
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
680
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
681 strcat ('foo ', 'bar')
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
682 ==> 'foobar'
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
683
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
684 The new function cstrcat provides the previous behavior of
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
685 Octave's strcat.
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
686
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
687 ** Improvements to the help functions.
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
688
9034
52515efc50c0 Documentation cleanup on NEWS file
Rik <rdrider0-list@yahoo.com>
parents: 9031
diff changeset
689 The help system has been mostly re-implemented in .m files to make
8885
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
690 it easier to modify. Performance of the lookfor function has been
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
691 greatly improved by caching the help text from all functions that
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
692 are distributed with Octave. The pkg function has been modified
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
693 to generate cache files for external packages when they are
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
694 installed.
47fb59095191 more NEWS file edits
John W. Eaton <jwe@octave.org>
parents: 8858
diff changeset
695
8888
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
696 ** Deprecated functions.
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
697
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
698 The following functions were deprecated in Octave 3.0 and will be
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
699 removed in Octave 3.4 (or whatever version is the second major
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
700 release after 3.0):
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
701
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
702 beta_cdf geometric_pdf pascal_pdf
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
703 beta_inv geometric_rnd pascal_rnd
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
704 beta_pdf hypergeometric_cdf poisson_cdf
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
705 beta_rnd hypergeometric_inv poisson_inv
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
706 binomial_cdf hypergeometric_pdf poisson_pdf
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
707 binomial_inv hypergeometric_rnd poisson_rnd
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
708 binomial_pdf intersection polyinteg
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
709 binomial_rnd is_bool setstr
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
710 chisquare_cdf is_complex struct_contains
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
711 chisquare_inv is_list struct_elements
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
712 chisquare_pdf is_matrix t_cdf
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
713 chisquare_rnd is_scalar t_inv
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
714 clearplot is_square t_pdf
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
715 clg is_stream t_rnd
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
716 com2str is_struct uniform_cdf
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
717 exponential_cdf is_symmetric uniform_inv
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
718 exponential_inv is_vector uniform_pdf
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
719 exponential_pdf isstr uniform_rnd
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
720 exponential_rnd lognormal_cdf weibcdf
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
721 f_cdf lognormal_inv weibinv
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
722 f_inv lognormal_pdf weibpdf
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
723 f_pdf lognormal_rnd weibrnd
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
724 f_rnd meshdom weibull_cdf
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
725 gamma_cdf normal_cdf weibull_inv
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
726 gamma_inv normal_inv weibull_pdf
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
727 gamma_pdf normal_pdf weibull_rnd
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
728 gamma_rnd normal_rnd wiener_rnd
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
729 geometric_cdf pascal_cdf
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
730 geometric_inv pascal_inv
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
731
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
732 The following functions are now deprecated in Octave 3.2 and will
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
733 be removed in Octave 3.6 (or whatever version is the second major
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
734 release after 3.2):
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
735
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
736 create_set spcholinv spmax
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
737 dmult spcumprod spmin
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
738 iscommand spcumsum spprod
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
739 israwcommand spdet spqr
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
740 lchol spdiag spsum
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
741 loadimage spfind spsumsq
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
742 mark_as_command spinv str2mat
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
743 mark_as_rawcommand spkron unmark_command
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
744 spatan2 splchol unmark_rawcommand
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
745 spchol split
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
746 spchol2inv splu
0c7b0049c023 mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents: 8885
diff changeset
747
7990
86dae6e5b83c Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents: 7279
diff changeset
748 See NEWS.3 for old news.