Mercurial > hg > octave-nkf
annotate NEWS @ 15712:74ff287f41cb
Remove default colormap for ind2rgb and ind2gray.
author | Carnë Draug <carandraug+dev@gmail.com> |
---|---|
date | Sun, 02 Dec 2012 13:12:53 +0100 |
parents | c2b381deca6b |
children | 13d1e9bfa362 |
rev | line source |
---|---|
13687
59fd35807941
New GUI branch
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
13268
diff
changeset
|
1 Summary of important user-visible changes for version 4.0: |
59fd35807941
New GUI branch
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
13268
diff
changeset
|
2 --------------------------------------------------------- |
59fd35807941
New GUI branch
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
13268
diff
changeset
|
3 |
59fd35807941
New GUI branch
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
13268
diff
changeset
|
4 ** A new GUI is now available with Octave. |
59fd35807941
New GUI branch
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
13268
diff
changeset
|
5 |
15427
6823ad7a25b1
implement local option for warnings
John W. Eaton <jwe@octave.org>
parents:
15188
diff
changeset
|
6 ** Warning states may now be set temporarily, until the end of the |
6823ad7a25b1
implement local option for warnings
John W. Eaton <jwe@octave.org>
parents:
15188
diff
changeset
|
7 current function, using the syntax |
6823ad7a25b1
implement local option for warnings
John W. Eaton <jwe@octave.org>
parents:
15188
diff
changeset
|
8 |
6823ad7a25b1
implement local option for warnings
John W. Eaton <jwe@octave.org>
parents:
15188
diff
changeset
|
9 warning STATE ID "local" |
6823ad7a25b1
implement local option for warnings
John W. Eaton <jwe@octave.org>
parents:
15188
diff
changeset
|
10 |
6823ad7a25b1
implement local option for warnings
John W. Eaton <jwe@octave.org>
parents:
15188
diff
changeset
|
11 in which STATE may be "on", "off", or "error". Changes to warning |
6823ad7a25b1
implement local option for warnings
John W. Eaton <jwe@octave.org>
parents:
15188
diff
changeset
|
12 states that are set locally affect the current function and all |
6823ad7a25b1
implement local option for warnings
John W. Eaton <jwe@octave.org>
parents:
15188
diff
changeset
|
13 functions called from the current scope. The previous warning state |
6823ad7a25b1
implement local option for warnings
John W. Eaton <jwe@octave.org>
parents:
15188
diff
changeset
|
14 is restored on return from the current function. The "local" |
6823ad7a25b1
implement local option for warnings
John W. Eaton <jwe@octave.org>
parents:
15188
diff
changeset
|
15 option is ignored if used in the top-level workspace. |
6823ad7a25b1
implement local option for warnings
John W. Eaton <jwe@octave.org>
parents:
15188
diff
changeset
|
16 |
14271
e2a14d1b4eaa
rgbplot.m: Add new Matlab compatible function for plotting colormaps
Rik <octave@nomad.inbox5.com>
parents:
14188
diff
changeset
|
17 Summary of important user-visible changes for version 3.8: |
e2a14d1b4eaa
rgbplot.m: Add new Matlab compatible function for plotting colormaps
Rik <octave@nomad.inbox5.com>
parents:
14188
diff
changeset
|
18 --------------------------------------------------------- |
e2a14d1b4eaa
rgbplot.m: Add new Matlab compatible function for plotting colormaps
Rik <octave@nomad.inbox5.com>
parents:
14188
diff
changeset
|
19 |
14546
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
20 ** Octave now supports nested functions with scoping rules that are |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
21 compatible with Matlab. A nested function is one declared and defined |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
22 within the body of another function. The nested function is only |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
23 accessible from within the enclosing function which makes it one |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
24 method for making private functions whose names do not conflict with those |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
25 in the global namespace (See also subfunctions and private functions). |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
26 In addition, variables in the enclosing function are visible within the |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
27 nested function. This makes it possible to have a pseudo-global variable |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
28 which can be seen by a group of functions, but which is not visible in |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
29 the global namespace. |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
30 |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
31 Example: |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
32 function outerfunc (...) |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
33 ... |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
34 function nested1 (...) |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
35 ... |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
36 function nested2 (...) |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
37 ... |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
38 endfunction |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
39 endfunction |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
40 |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
41 function nested3 (...) |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
42 ... |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
43 endfunction |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
44 endfunction |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
45 |
14536
6d5c951ec520
Add 'emptymatch', 'noemptymatch' options to regular expressions.
Rik <octave@nomad.inbox5.com>
parents:
14534
diff
changeset
|
46 ** 'emptymatch', 'noemptymatch' options added to regular expressions. |
6d5c951ec520
Add 'emptymatch', 'noemptymatch' options to regular expressions.
Rik <octave@nomad.inbox5.com>
parents:
14534
diff
changeset
|
47 |
6d5c951ec520
Add 'emptymatch', 'noemptymatch' options to regular expressions.
Rik <octave@nomad.inbox5.com>
parents:
14534
diff
changeset
|
48 With this addition Octave now accepts the entire set of Matlab options |
6d5c951ec520
Add 'emptymatch', 'noemptymatch' options to regular expressions.
Rik <octave@nomad.inbox5.com>
parents:
14534
diff
changeset
|
49 for regular expressions. 'noemptymatch' is the default, but 'emptymatch' |
6d5c951ec520
Add 'emptymatch', 'noemptymatch' options to regular expressions.
Rik <octave@nomad.inbox5.com>
parents:
14534
diff
changeset
|
50 has certain uses where you need to match an assertion rather than actual |
6d5c951ec520
Add 'emptymatch', 'noemptymatch' options to regular expressions.
Rik <octave@nomad.inbox5.com>
parents:
14534
diff
changeset
|
51 characters. For example, |
6d5c951ec520
Add 'emptymatch', 'noemptymatch' options to regular expressions.
Rik <octave@nomad.inbox5.com>
parents:
14534
diff
changeset
|
52 |
6d5c951ec520
Add 'emptymatch', 'noemptymatch' options to regular expressions.
Rik <octave@nomad.inbox5.com>
parents:
14534
diff
changeset
|
53 regexprep ('World', '^', 'Hello ', 'emptymatch') |
6d5c951ec520
Add 'emptymatch', 'noemptymatch' options to regular expressions.
Rik <octave@nomad.inbox5.com>
parents:
14534
diff
changeset
|
54 => Hello World |
6d5c951ec520
Add 'emptymatch', 'noemptymatch' options to regular expressions.
Rik <octave@nomad.inbox5.com>
parents:
14534
diff
changeset
|
55 |
6d5c951ec520
Add 'emptymatch', 'noemptymatch' options to regular expressions.
Rik <octave@nomad.inbox5.com>
parents:
14534
diff
changeset
|
56 where the pattern is actually the assertion '^' or start-of-line. |
6d5c951ec520
Add 'emptymatch', 'noemptymatch' options to regular expressions.
Rik <octave@nomad.inbox5.com>
parents:
14534
diff
changeset
|
57 |
14543
e47d929fde8f
process backslash string escapes in regexp pattern and regexprep replacement (bug #35911)
John W. Eaton <jwe@octave.org>
parents:
14536
diff
changeset
|
58 ** For compatibility with Matlab, the regexp, regexpi, and regexprep |
15541
9db32cabeacf
Fix backslash handling in regexp pattern (Bug #37092)
Rik <rik@octave.org>
parents:
15513
diff
changeset
|
59 functions now process backslash escape sequences in single-quoted pattern |
14546
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
60 strings. In addition, the regexprep function now processes backslash |
15541
9db32cabeacf
Fix backslash handling in regexp pattern (Bug #37092)
Rik <rik@octave.org>
parents:
15513
diff
changeset
|
61 escapes in single-quoted replacement strings. For example, |
9db32cabeacf
Fix backslash handling in regexp pattern (Bug #37092)
Rik <rik@octave.org>
parents:
15513
diff
changeset
|
62 |
9db32cabeacf
Fix backslash handling in regexp pattern (Bug #37092)
Rik <rik@octave.org>
parents:
15513
diff
changeset
|
63 regexprep (str, '\t', '\n') |
9db32cabeacf
Fix backslash handling in regexp pattern (Bug #37092)
Rik <rik@octave.org>
parents:
15513
diff
changeset
|
64 |
9db32cabeacf
Fix backslash handling in regexp pattern (Bug #37092)
Rik <rik@octave.org>
parents:
15513
diff
changeset
|
65 would search the variable str for a TAB character (escape sequence \t) |
9db32cabeacf
Fix backslash handling in regexp pattern (Bug #37092)
Rik <rik@octave.org>
parents:
15513
diff
changeset
|
66 and replace it with a NEWLINE (escape sequence \n). Previously the |
9db32cabeacf
Fix backslash handling in regexp pattern (Bug #37092)
Rik <rik@octave.org>
parents:
15513
diff
changeset
|
67 expression would have searched for a literal '\' followed by 't' and |
9db32cabeacf
Fix backslash handling in regexp pattern (Bug #37092)
Rik <rik@octave.org>
parents:
15513
diff
changeset
|
68 replaced the two characters with the sequence '\', 'n'. |
14544
be18c9e359bf
Nested function support (bug #35772)
Max Brister <max@2bass.com>
parents:
14543
diff
changeset
|
69 |
14534
ad2ff36996b8
NEWS: Add note about redundant serial comma feature in parser
Rik <octave@nomad.inbox5.com>
parents:
14516
diff
changeset
|
70 ** Redundant terminal comma accepted by parser |
ad2ff36996b8
NEWS: Add note about redundant serial comma feature in parser
Rik <octave@nomad.inbox5.com>
parents:
14516
diff
changeset
|
71 |
ad2ff36996b8
NEWS: Add note about redundant serial comma feature in parser
Rik <octave@nomad.inbox5.com>
parents:
14516
diff
changeset
|
72 A redundant terminal comma is now accepted in matrix |
ad2ff36996b8
NEWS: Add note about redundant serial comma feature in parser
Rik <octave@nomad.inbox5.com>
parents:
14516
diff
changeset
|
73 definitions which allows writing code such as |
ad2ff36996b8
NEWS: Add note about redundant serial comma feature in parser
Rik <octave@nomad.inbox5.com>
parents:
14516
diff
changeset
|
74 |
ad2ff36996b8
NEWS: Add note about redundant serial comma feature in parser
Rik <octave@nomad.inbox5.com>
parents:
14516
diff
changeset
|
75 [a,... |
ad2ff36996b8
NEWS: Add note about redundant serial comma feature in parser
Rik <octave@nomad.inbox5.com>
parents:
14516
diff
changeset
|
76 b,... |
ad2ff36996b8
NEWS: Add note about redundant serial comma feature in parser
Rik <octave@nomad.inbox5.com>
parents:
14516
diff
changeset
|
77 c,... |
ad2ff36996b8
NEWS: Add note about redundant serial comma feature in parser
Rik <octave@nomad.inbox5.com>
parents:
14516
diff
changeset
|
78 ] = deal (1,2,3) |
ad2ff36996b8
NEWS: Add note about redundant serial comma feature in parser
Rik <octave@nomad.inbox5.com>
parents:
14516
diff
changeset
|
79 |
14469
29aabe9b37a2
Rename array-as-vector, array-as-scalar warning IDs to match documentation (bug #35838)
Rik <octave@nomad.inbox5.com>
parents:
14446
diff
changeset
|
80 ** Warning IDs renamed: |
29aabe9b37a2
Rename array-as-vector, array-as-scalar warning IDs to match documentation (bug #35838)
Rik <octave@nomad.inbox5.com>
parents:
14446
diff
changeset
|
81 |
29aabe9b37a2
Rename array-as-vector, array-as-scalar warning IDs to match documentation (bug #35838)
Rik <octave@nomad.inbox5.com>
parents:
14446
diff
changeset
|
82 Octave:array-as-scalar => Octave:array-to-scalar |
29aabe9b37a2
Rename array-as-vector, array-as-scalar warning IDs to match documentation (bug #35838)
Rik <octave@nomad.inbox5.com>
parents:
14446
diff
changeset
|
83 Octave:array-as-vector => Octave:array-to-vector |
29aabe9b37a2
Rename array-as-vector, array-as-scalar warning IDs to match documentation (bug #35838)
Rik <octave@nomad.inbox5.com>
parents:
14446
diff
changeset
|
84 |
14654
389f49a88656
NEWS: Re-order list of changes for 3.8.0 to place deprecated functions last.
Rik <octave@nomad.inbox5.com>
parents:
14640
diff
changeset
|
85 ** The colormap function now provides new options--"list", "register", |
389f49a88656
NEWS: Re-order list of changes for 3.8.0 to place deprecated functions last.
Rik <octave@nomad.inbox5.com>
parents:
14640
diff
changeset
|
86 and "unregister"--to list all available colormap functions, and to |
389f49a88656
NEWS: Re-order list of changes for 3.8.0 to place deprecated functions last.
Rik <octave@nomad.inbox5.com>
parents:
14640
diff
changeset
|
87 add or remove a function name from the list of known colormap |
389f49a88656
NEWS: Re-order list of changes for 3.8.0 to place deprecated functions last.
Rik <octave@nomad.inbox5.com>
parents:
14640
diff
changeset
|
88 functions. Packages that implement extra colormaps should use these |
389f49a88656
NEWS: Re-order list of changes for 3.8.0 to place deprecated functions last.
Rik <octave@nomad.inbox5.com>
parents:
14640
diff
changeset
|
89 commands with PKG_ADD and PKG_DEL statements. |
389f49a88656
NEWS: Re-order list of changes for 3.8.0 to place deprecated functions last.
Rik <octave@nomad.inbox5.com>
parents:
14640
diff
changeset
|
90 |
15683
806ea52af230
Overhaul m-files in image directory to provide better support for images stored as integers.
Rik <rik@octave.org>
parents:
15625
diff
changeset
|
91 ** The m-files in the image directory have been overhauled. |
15698
ea2788117ee3
NEWS: Add notice about extending error functions to accept complex inputs.
Rik <rik@octave.org>
parents:
15683
diff
changeset
|
92 |
15683
806ea52af230
Overhaul m-files in image directory to provide better support for images stored as integers.
Rik <rik@octave.org>
parents:
15625
diff
changeset
|
93 The principal benefit is that Octave will now no longer automatically |
806ea52af230
Overhaul m-files in image directory to provide better support for images stored as integers.
Rik <rik@octave.org>
parents:
15625
diff
changeset
|
94 convert images stored with integers to doubles. Storing images as uint8 |
806ea52af230
Overhaul m-files in image directory to provide better support for images stored as integers.
Rik <rik@octave.org>
parents:
15625
diff
changeset
|
95 or uint16 requires only 1/8 or 1/4 the memory of an image stored using |
806ea52af230
Overhaul m-files in image directory to provide better support for images stored as integers.
Rik <rik@octave.org>
parents:
15625
diff
changeset
|
96 doubles. For certain operations, such as fft2, the image must still be |
806ea52af230
Overhaul m-files in image directory to provide better support for images stored as integers.
Rik <rik@octave.org>
parents:
15625
diff
changeset
|
97 converted to double in order to work. |
806ea52af230
Overhaul m-files in image directory to provide better support for images stored as integers.
Rik <rik@octave.org>
parents:
15625
diff
changeset
|
98 |
15712
74ff287f41cb
Remove default colormap for ind2rgb and ind2gray.
Carnë Draug <carandraug+dev@gmail.com>
parents:
15704
diff
changeset
|
99 Other changes include fixes to the way indexed images are read from a |
74ff287f41cb
Remove default colormap for ind2rgb and ind2gray.
Carnë Draug <carandraug+dev@gmail.com>
parents:
15704
diff
changeset
|
100 colormap depending on the image class (integer images have a -1 offset to |
74ff287f41cb
Remove default colormap for ind2rgb and ind2gray.
Carnë Draug <carandraug+dev@gmail.com>
parents:
15704
diff
changeset
|
101 the colormap row number). |
74ff287f41cb
Remove default colormap for ind2rgb and ind2gray.
Carnë Draug <carandraug+dev@gmail.com>
parents:
15704
diff
changeset
|
102 |
14743
b7675598094a
datevec.m: Support more date string input formats for Matlab compatibility (bug #36563)
Rik <octave@nomad.inbox5.com>
parents:
14654
diff
changeset
|
103 ** The datevec function has been extended for better Matlab compatibility. |
b7675598094a
datevec.m: Support more date string input formats for Matlab compatibility (bug #36563)
Rik <octave@nomad.inbox5.com>
parents:
14654
diff
changeset
|
104 It now accepts string inputs in the following numerical formats: 12, 21, |
b7675598094a
datevec.m: Support more date string input formats for Matlab compatibility (bug #36563)
Rik <octave@nomad.inbox5.com>
parents:
14654
diff
changeset
|
105 22, 26, 29, 31. This is undocumented, but verifiable, Matlab behavior. |
b7675598094a
datevec.m: Support more date string input formats for Matlab compatibility (bug #36563)
Rik <octave@nomad.inbox5.com>
parents:
14654
diff
changeset
|
106 In addition, the default for formats which do not specify a date is |
b7675598094a
datevec.m: Support more date string input formats for Matlab compatibility (bug #36563)
Rik <octave@nomad.inbox5.com>
parents:
14654
diff
changeset
|
107 January 1st of the current year. The previous default was the current day, |
b7675598094a
datevec.m: Support more date string input formats for Matlab compatibility (bug #36563)
Rik <octave@nomad.inbox5.com>
parents:
14654
diff
changeset
|
108 month, and year. This may produce changes in existing scripts. |
b7675598094a
datevec.m: Support more date string input formats for Matlab compatibility (bug #36563)
Rik <octave@nomad.inbox5.com>
parents:
14654
diff
changeset
|
109 |
15698
ea2788117ee3
NEWS: Add notice about extending error functions to accept complex inputs.
Rik <rik@octave.org>
parents:
15683
diff
changeset
|
110 ** The error function and its derivatives has been extended to accept complex |
ea2788117ee3
NEWS: Add notice about extending error functions to accept complex inputs.
Rik <rik@octave.org>
parents:
15683
diff
changeset
|
111 arguments. The following functions now accept complex inputs: |
ea2788117ee3
NEWS: Add notice about extending error functions to accept complex inputs.
Rik <rik@octave.org>
parents:
15683
diff
changeset
|
112 |
15704
c2b381deca6b
NEWS: erfinv and erfcinv do not accept complex inputs.
Rik <rik@octave.org>
parents:
15699
diff
changeset
|
113 erf erfc erfcx |
15698
ea2788117ee3
NEWS: Add notice about extending error functions to accept complex inputs.
Rik <rik@octave.org>
parents:
15683
diff
changeset
|
114 |
ea2788117ee3
NEWS: Add notice about extending error functions to accept complex inputs.
Rik <rik@octave.org>
parents:
15683
diff
changeset
|
115 In addition two new error functions erfi (imaginary error function) and |
15699
13d9c90b9cf8
NEWS: Correct typo in changeset ea2788117ee3.
Rik <rik@octave.org>
parents:
15698
diff
changeset
|
116 dawson (scaled imaginary error function) have been added. |
15698
ea2788117ee3
NEWS: Add notice about extending error functions to accept complex inputs.
Rik <rik@octave.org>
parents:
15683
diff
changeset
|
117 |
15167
1c711a646fa7
Deprecate configure variables CC_VERSION, CXX_VERSION.
Rik <rik@octave.org>
parents:
15043
diff
changeset
|
118 ** The default name of the Octave crash dump file is now called |
1c711a646fa7
Deprecate configure variables CC_VERSION, CXX_VERSION.
Rik <rik@octave.org>
parents:
15043
diff
changeset
|
119 octave-workspace instead of octave-core. |
15625
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15541
diff
changeset
|
120 |
15698
ea2788117ee3
NEWS: Add notice about extending error functions to accept complex inputs.
Rik <rik@octave.org>
parents:
15683
diff
changeset
|
121 ** The java package from Octave Forge is now part of core Octave. The |
15625
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15541
diff
changeset
|
122 following new functions are available for interacting with Java |
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15541
diff
changeset
|
123 directly from Octave: |
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15541
diff
changeset
|
124 |
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15541
diff
changeset
|
125 java java_invoke |
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15541
diff
changeset
|
126 java2mat java_new |
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15541
diff
changeset
|
127 javaArray java_set |
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15541
diff
changeset
|
128 javaMethod java_unsigned_conversion |
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15541
diff
changeset
|
129 javaObject javaaddpath |
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15541
diff
changeset
|
130 java_convert_matrix javaclasspath |
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15541
diff
changeset
|
131 java_debug javafields |
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15541
diff
changeset
|
132 java_exit javamem |
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15541
diff
changeset
|
133 java_get javamethods |
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15541
diff
changeset
|
134 java_init javarmpath |
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15541
diff
changeset
|
135 |
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15541
diff
changeset
|
136 In addition, the following functions that use the Java interface |
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15541
diff
changeset
|
137 are now available (provided that Octave is compiled with support for |
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15541
diff
changeset
|
138 Java enabled): |
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15541
diff
changeset
|
139 |
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15541
diff
changeset
|
140 helpdlg listdlg questdlg |
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15541
diff
changeset
|
141 inputdlg msgbox warndlg |
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15541
diff
changeset
|
142 |
14271
e2a14d1b4eaa
rgbplot.m: Add new Matlab compatible function for plotting colormaps
Rik <octave@nomad.inbox5.com>
parents:
14188
diff
changeset
|
143 ** Other new functions added in 3.8.0: |
e2a14d1b4eaa
rgbplot.m: Add new Matlab compatible function for plotting colormaps
Rik <octave@nomad.inbox5.com>
parents:
14188
diff
changeset
|
144 |
15698
ea2788117ee3
NEWS: Add notice about extending error functions to accept complex inputs.
Rik <rik@octave.org>
parents:
15683
diff
changeset
|
145 betaincinv dawson fminsearch rgbplot |
ea2788117ee3
NEWS: Add notice about extending error functions to accept complex inputs.
Rik <rik@octave.org>
parents:
15683
diff
changeset
|
146 cmpermute erfcinv iscolormap shrinkfaces |
ea2788117ee3
NEWS: Add notice about extending error functions to accept complex inputs.
Rik <rik@octave.org>
parents:
15683
diff
changeset
|
147 cmunique erfi lines splinefit |
ea2788117ee3
NEWS: Add notice about extending error functions to accept complex inputs.
Rik <rik@octave.org>
parents:
15683
diff
changeset
|
148 colorcube findfigs polyeig tetramesh |
15513
7a0a202fedfe
iscolormap: new function for image
Carnë Draug <carandraug+dev@gmail.com>
parents:
15427
diff
changeset
|
149 |
14271
e2a14d1b4eaa
rgbplot.m: Add new Matlab compatible function for plotting colormaps
Rik <octave@nomad.inbox5.com>
parents:
14188
diff
changeset
|
150 ** Deprecated functions. |
e2a14d1b4eaa
rgbplot.m: Add new Matlab compatible function for plotting colormaps
Rik <octave@nomad.inbox5.com>
parents:
14188
diff
changeset
|
151 |
e2a14d1b4eaa
rgbplot.m: Add new Matlab compatible function for plotting colormaps
Rik <octave@nomad.inbox5.com>
parents:
14188
diff
changeset
|
152 The following functions were deprecated in Octave 3.4 and have been |
e2a14d1b4eaa
rgbplot.m: Add new Matlab compatible function for plotting colormaps
Rik <octave@nomad.inbox5.com>
parents:
14188
diff
changeset
|
153 removed from Octave 3.8. |
e2a14d1b4eaa
rgbplot.m: Add new Matlab compatible function for plotting colormaps
Rik <octave@nomad.inbox5.com>
parents:
14188
diff
changeset
|
154 |
14354
55bb8c902a4d
maint: Remove deprecated functions from dev branch for next (3.8) release.
Rik <octave@nomad.inbox5.com>
parents:
14294
diff
changeset
|
155 autocor dispatch is_global strerror |
55bb8c902a4d
maint: Remove deprecated functions from dev branch for next (3.8) release.
Rik <octave@nomad.inbox5.com>
parents:
14294
diff
changeset
|
156 autocov fstat krylovb values |
55bb8c902a4d
maint: Remove deprecated functions from dev branch for next (3.8) release.
Rik <octave@nomad.inbox5.com>
parents:
14294
diff
changeset
|
157 betai gammai perror |
55bb8c902a4d
maint: Remove deprecated functions from dev branch for next (3.8) release.
Rik <octave@nomad.inbox5.com>
parents:
14294
diff
changeset
|
158 cellidx glpkmex replot |
55bb8c902a4d
maint: Remove deprecated functions from dev branch for next (3.8) release.
Rik <octave@nomad.inbox5.com>
parents:
14294
diff
changeset
|
159 cquad is_duplicate_entry saveimage |
14271
e2a14d1b4eaa
rgbplot.m: Add new Matlab compatible function for plotting colormaps
Rik <octave@nomad.inbox5.com>
parents:
14188
diff
changeset
|
160 |
e2a14d1b4eaa
rgbplot.m: Add new Matlab compatible function for plotting colormaps
Rik <octave@nomad.inbox5.com>
parents:
14188
diff
changeset
|
161 The following functions have been deprecated in Octave 3.8 and will |
e2a14d1b4eaa
rgbplot.m: Add new Matlab compatible function for plotting colormaps
Rik <octave@nomad.inbox5.com>
parents:
14188
diff
changeset
|
162 be removed from Octave 3.12 (or whatever version is the second major |
e2a14d1b4eaa
rgbplot.m: Add new Matlab compatible function for plotting colormaps
Rik <octave@nomad.inbox5.com>
parents:
14188
diff
changeset
|
163 release after 3.8): |
e2a14d1b4eaa
rgbplot.m: Add new Matlab compatible function for plotting colormaps
Rik <octave@nomad.inbox5.com>
parents:
14188
diff
changeset
|
164 |
14294
9e3983c8963c
deprecate the static keyword
John W. Eaton <jwe@octave.org>
parents:
14274
diff
changeset
|
165 <none yet> |
9e3983c8963c
deprecate the static keyword
John W. Eaton <jwe@octave.org>
parents:
14274
diff
changeset
|
166 |
9e3983c8963c
deprecate the static keyword
John W. Eaton <jwe@octave.org>
parents:
14274
diff
changeset
|
167 The following keywords have been deprecated in Octave 3.8 and will |
9e3983c8963c
deprecate the static keyword
John W. Eaton <jwe@octave.org>
parents:
14274
diff
changeset
|
168 be removed from Octave 3.12 (or whatever version is the second major |
9e3983c8963c
deprecate the static keyword
John W. Eaton <jwe@octave.org>
parents:
14274
diff
changeset
|
169 release after 3.8): |
9e3983c8963c
deprecate the static keyword
John W. Eaton <jwe@octave.org>
parents:
14274
diff
changeset
|
170 |
9e3983c8963c
deprecate the static keyword
John W. Eaton <jwe@octave.org>
parents:
14274
diff
changeset
|
171 static |
14271
e2a14d1b4eaa
rgbplot.m: Add new Matlab compatible function for plotting colormaps
Rik <octave@nomad.inbox5.com>
parents:
14188
diff
changeset
|
172 |
15167
1c711a646fa7
Deprecate configure variables CC_VERSION, CXX_VERSION.
Rik <rik@octave.org>
parents:
15043
diff
changeset
|
173 The following configuration variables have been deprecated in Octave |
1c711a646fa7
Deprecate configure variables CC_VERSION, CXX_VERSION.
Rik <rik@octave.org>
parents:
15043
diff
changeset
|
174 3.8 and will be removed from Octave 3.12 (or whatever version is the |
1c711a646fa7
Deprecate configure variables CC_VERSION, CXX_VERSION.
Rik <rik@octave.org>
parents:
15043
diff
changeset
|
175 second major release after 3.8): |
1c711a646fa7
Deprecate configure variables CC_VERSION, CXX_VERSION.
Rik <rik@octave.org>
parents:
15043
diff
changeset
|
176 |
1c711a646fa7
Deprecate configure variables CC_VERSION, CXX_VERSION.
Rik <rik@octave.org>
parents:
15043
diff
changeset
|
177 CC_VERSION (now GCC_VERSION) |
1c711a646fa7
Deprecate configure variables CC_VERSION, CXX_VERSION.
Rik <rik@octave.org>
parents:
15043
diff
changeset
|
178 CXX_VERSION (now GXX_VERSION) |
1c711a646fa7
Deprecate configure variables CC_VERSION, CXX_VERSION.
Rik <rik@octave.org>
parents:
15043
diff
changeset
|
179 |
1c711a646fa7
Deprecate configure variables CC_VERSION, CXX_VERSION.
Rik <rik@octave.org>
parents:
15043
diff
changeset
|
180 |
12413
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
181 Summary of important user-visible changes for version 3.6: |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
182 --------------------------------------------------------- |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
183 |
14188 | 184 ** The PCRE library is now required to build Octave. If a pre-compiled |
185 package does not exist for your system, you can find PCRE sources | |
186 at http://www.pcre.org | |
12488
bea828c03969
Add new isrow, iscolumn functions.
Rik <octave@nomad.inbox5.com>
parents:
12464
diff
changeset
|
187 |
14176
fbfaafe0471b
NEWS: Add note about ARPACK being removed from source.
Rik <octave@nomad.inbox5.com>
parents:
14116
diff
changeset
|
188 ** The ARPACK library is no longer distributed with Octave. |
14188 | 189 If you need the eigs or svds functions you must provide an |
190 external ARPACK through a package manager or by compiling it | |
191 yourself. If a pre-compiled package does not exist for your system, | |
192 you can find the current ARPACK sources at | |
193 http://forge.scilab.org/index.php/p/arpack-ng | |
14176
fbfaafe0471b
NEWS: Add note about ARPACK being removed from source.
Rik <octave@nomad.inbox5.com>
parents:
14116
diff
changeset
|
194 |
14082 | 195 ** Many of Octave's binary operators (.*, .^, +, -, ...) now perform |
14407
73f02881260f
doc: Fix wording in NEWS file.
Rik <octave@nomad.inbox5.com>
parents:
14188
diff
changeset
|
196 automatic broadcasting for array operations which allows you to use |
14082 | 197 operator notation instead of calling bsxfun or expanding arrays (and |
198 unnecessarily wasting memory) with repmat or similar idioms. For | |
199 example, to scale the columns of a matrix by the elements of a row | |
200 vector, you may now write | |
13923
7b83576b3b48
Update NEWS with auto BSX info
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
13919
diff
changeset
|
201 |
14082 | 202 rv .* M |
203 | |
204 In this expression, the number of elements of rv must match the | |
205 number of columns of M. The following operators are affected: | |
13923
7b83576b3b48
Update NEWS with auto BSX info
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
13919
diff
changeset
|
206 |
14082 | 207 plus + .+ |
208 minus - .- | |
209 times .* | |
210 rdivide ./ | |
211 ldivide .\ | |
212 power .^ .** | |
213 lt < | |
214 le <= | |
215 eq == | |
216 gt > | |
217 ge >= | |
218 ne != ~= | |
219 and & | |
220 or | | |
221 atan2 | |
222 hypot | |
223 max | |
224 min | |
225 mod | |
226 rem | |
227 xor | |
13923
7b83576b3b48
Update NEWS with auto BSX info
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
13919
diff
changeset
|
228 |
14408
9f7c22795c94
doc: Correct a few typos in NEWS.
Rik <octave@nomad.inbox5.com>
parents:
14407
diff
changeset
|
229 additionally, since the A op= B assignment operators are equivalent |
14082 | 230 to A = A op B, the following operators are also affected: |
13923
7b83576b3b48
Update NEWS with auto BSX info
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
13919
diff
changeset
|
231 |
14082 | 232 += -= .+= .-= .*= ./= .\= .^= .**= &= |= |
233 | |
14116
951eacaf9381
Initial documentation for broadcasting and general vectorization guidelines
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
14093
diff
changeset
|
234 See the "Broadcasting" section in the new "Vectorization and Faster |
951eacaf9381
Initial documentation for broadcasting and general vectorization guidelines
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
14093
diff
changeset
|
235 Code Execution" chapter of the manual for more details. |
13923
7b83576b3b48
Update NEWS with auto BSX info
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
13919
diff
changeset
|
236 |
12988
7aa9cb7aaa32
Announce in NEWS that we now have a profiler
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
12981
diff
changeset
|
237 ** Octave now features a profiler, thanks to the work of Daniel Kraft |
13171
19b9f17d22af
Overhaul of statistical distribution functions
Rik <octave@nomad.inbox5.com>
parents:
12988
diff
changeset
|
238 under the Google Summer of Code mentorship program. The manual has |
13262 | 239 been updated to reflect this addition. The new user-visible |
14178
3f2a3076b9a6
NEWS: Update list of functions added for 3.6.0 release.
Rik <octave@nomad.inbox5.com>
parents:
14176
diff
changeset
|
240 functions are profile, profshow, and profexplore. |
12988
7aa9cb7aaa32
Announce in NEWS that we now have a profiler
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
12981
diff
changeset
|
241 |
13171
19b9f17d22af
Overhaul of statistical distribution functions
Rik <octave@nomad.inbox5.com>
parents:
12988
diff
changeset
|
242 ** Overhaul of statistical distribution functions |
19b9f17d22af
Overhaul of statistical distribution functions
Rik <octave@nomad.inbox5.com>
parents:
12988
diff
changeset
|
243 |
19b9f17d22af
Overhaul of statistical distribution functions
Rik <octave@nomad.inbox5.com>
parents:
12988
diff
changeset
|
244 Functions now return "single" outputs for inputs of class "single". |
19b9f17d22af
Overhaul of statistical distribution functions
Rik <octave@nomad.inbox5.com>
parents:
12988
diff
changeset
|
245 |
19b9f17d22af
Overhaul of statistical distribution functions
Rik <octave@nomad.inbox5.com>
parents:
12988
diff
changeset
|
246 75% reduction in memory usage through use of logical indexing. |
19b9f17d22af
Overhaul of statistical distribution functions
Rik <octave@nomad.inbox5.com>
parents:
12988
diff
changeset
|
247 |
14188 | 248 Random sample functions now use the same syntax as rand and accept |
13171
19b9f17d22af
Overhaul of statistical distribution functions
Rik <octave@nomad.inbox5.com>
parents:
12988
diff
changeset
|
249 a comma separated list of dimensions or a dimension vector. |
19b9f17d22af
Overhaul of statistical distribution functions
Rik <octave@nomad.inbox5.com>
parents:
12988
diff
changeset
|
250 |
19b9f17d22af
Overhaul of statistical distribution functions
Rik <octave@nomad.inbox5.com>
parents:
12988
diff
changeset
|
251 Functions have been made Matlab-compatible with regard to special |
19b9f17d22af
Overhaul of statistical distribution functions
Rik <octave@nomad.inbox5.com>
parents:
12988
diff
changeset
|
252 cases (probability on boundaries, probabilities for values outside |
19b9f17d22af
Overhaul of statistical distribution functions
Rik <octave@nomad.inbox5.com>
parents:
12988
diff
changeset
|
253 distribution, etc.). This may cause subtle changes to existing |
19b9f17d22af
Overhaul of statistical distribution functions
Rik <octave@nomad.inbox5.com>
parents:
12988
diff
changeset
|
254 scripts. |
19b9f17d22af
Overhaul of statistical distribution functions
Rik <octave@nomad.inbox5.com>
parents:
12988
diff
changeset
|
255 |
14188 | 256 negative binomial function has been extended to real, non-integer |
14408
9f7c22795c94
doc: Correct a few typos in NEWS.
Rik <octave@nomad.inbox5.com>
parents:
14407
diff
changeset
|
257 inputs. The discrete_inv function now returns v(1) for 0 instead of |
9f7c22795c94
doc: Correct a few typos in NEWS.
Rik <octave@nomad.inbox5.com>
parents:
14407
diff
changeset
|
258 NaN. The nbincdf function has been recoded to use a closed form |
14188 | 259 solution with betainc. |
13171
19b9f17d22af
Overhaul of statistical distribution functions
Rik <octave@nomad.inbox5.com>
parents:
12988
diff
changeset
|
260 |
12866
fe6e2afcd9ee
Revamp strread, textscan, textread functions for Matlab compatability
Philip Nienhuis <prnienhuis@users.sf.net>
parents:
12856
diff
changeset
|
261 ** strread, textscan, and textread have been completely revamped. |
fe6e2afcd9ee
Revamp strread, textscan, textread functions for Matlab compatability
Philip Nienhuis <prnienhuis@users.sf.net>
parents:
12856
diff
changeset
|
262 |
fe6e2afcd9ee
Revamp strread, textscan, textread functions for Matlab compatability
Philip Nienhuis <prnienhuis@users.sf.net>
parents:
12856
diff
changeset
|
263 They now support nearly all Matlab functionality including: |
fe6e2afcd9ee
Revamp strread, textscan, textread functions for Matlab compatability
Philip Nienhuis <prnienhuis@users.sf.net>
parents:
12856
diff
changeset
|
264 |
14082 | 265 * Matlab-compatible whitespace and delimiter defaults |
266 | |
267 * Matlab-compatible options: 'whitespace', treatasempty', format | |
268 string repeat count, user-specified comment style, uneven-length | |
269 output arrays, %n and %u conversion specifiers (provisionally) | |
12866
fe6e2afcd9ee
Revamp strread, textscan, textread functions for Matlab compatability
Philip Nienhuis <prnienhuis@users.sf.net>
parents:
12856
diff
changeset
|
270 |
14082 | 271 ** All .m string functions have been modified for better performance or |
272 greater Matlab compatibility. Performance gains of 15X-30X have | |
14093
050bc580cb60
doc: Various docstring improvements before 3.6.0 release.
Rik <octave@nomad.inbox5.com>
parents:
14082
diff
changeset
|
273 been demonstrated. Operations on cell array of strings no longer pay |
14082 | 274 quite as high a penalty as those on 2-D character arrays. |
12981
4ec4096f65d1
doc: State that required input is cellstr, not cell, for strtrim and deblank (Bug #34038)
Rik <octave@nomad.inbox5.com>
parents:
12866
diff
changeset
|
275 |
14082 | 276 deblank: Now requires character or cellstr input. |
277 | |
278 strtrim: Now requires character or cellstr input. | |
279 No longer trims nulls ("\0") from string for Matlab | |
280 compatibility. | |
12981
4ec4096f65d1
doc: State that required input is cellstr, not cell, for strtrim and deblank (Bug #34038)
Rik <octave@nomad.inbox5.com>
parents:
12866
diff
changeset
|
281 |
14082 | 282 strmatch: Follows documentation precisely and ignores trailing spaces |
283 in pattern and in string. Note that this is documented | |
284 Matlab behavior but the implementation apparently does | |
285 not always follow it. | |
286 | |
287 substr: Now possible to specify a negative LEN option which | |
288 extracts to within LEN of the end of the string. | |
289 | |
290 strtok: Now accepts cellstr input. | |
291 | |
292 base2dec, bin2dec, hex2dec: | |
293 Now accept cellstr inputs. | |
294 | |
295 dec2base, dec2bin, dec2hex: | |
296 Now accept cellstr inputs. | |
297 | |
298 index, rindex: | |
299 Now accept 2-D character array input. | |
300 | |
301 strsplit: Now accepts 2-D character array input. | |
13262 | 302 |
13746
7ff0bdc3dc4c
Revamp geometry functions dependent on Qhull (Bug #34604, Bug #33346)
Rik <octave@nomad.inbox5.com>
parents:
13268
diff
changeset
|
303 ** Geometry functions derived from Qhull (convhull, delaunay, voronoi) |
14082 | 304 have been revamped. The options passed to the underlying qhull |
305 command have been changed for better results or for Matlab | |
306 compatibility. | |
307 | |
308 convhull: Default options are "Qt" for 2D, 3D, 4D inputs | |
309 Default options are "Qt Qx" for 5D and higher | |
310 | |
311 delaunay: Default options are "Qt Qbb Qc Qz" for 2D and 3D inputs | |
312 Default options are "Qt Qbb Qc Qx" for 4D and higher | |
13746
7ff0bdc3dc4c
Revamp geometry functions dependent on Qhull (Bug #34604, Bug #33346)
Rik <octave@nomad.inbox5.com>
parents:
13268
diff
changeset
|
313 |
14082 | 314 voronoi: No default arguments |
315 | |
316 ** Date/Time functions updated. Millisecond support with FFF format | |
317 string now supported. | |
13746
7ff0bdc3dc4c
Revamp geometry functions dependent on Qhull (Bug #34604, Bug #33346)
Rik <octave@nomad.inbox5.com>
parents:
13268
diff
changeset
|
318 |
14082 | 319 datestr: Numerical formats 21, 22, 29 changed to match Matlab. |
14408
9f7c22795c94
doc: Correct a few typos in NEWS.
Rik <octave@nomad.inbox5.com>
parents:
14407
diff
changeset
|
320 Now accepts cellstr input. |
13848
40e32fe44aaa
Ugrade time functions to accept millisecond format string FFF (Bug #34586)
Rik <octave@nomad.inbox5.com>
parents:
13841
diff
changeset
|
321 |
14082 | 322 ** The following warning IDs have been removed: |
13848
40e32fe44aaa
Ugrade time functions to accept millisecond format string FFF (Bug #34586)
Rik <octave@nomad.inbox5.com>
parents:
13841
diff
changeset
|
323 |
14082 | 324 Octave:associativity-change |
325 Octave:complex-cmp-ops | |
326 Octave:empty-list-elements | |
327 Octave:fortran-indexing | |
328 Octave:precedence-change | |
329 | |
330 ** The warning ID Octave:string-concat has been renamed to | |
331 Octave:mixed-string-concat. | |
13841
0a158dbdb04a
Remove 3 unused warning ids
Rik <octave@nomad.inbox5.com>
parents:
13826
diff
changeset
|
332 |
14082 | 333 ** Octave now includes the following Matlab-compatible preference |
334 functions: | |
13262 | 335 |
14082 | 336 addpref getpref ispref rmpref setpref |
13262 | 337 |
14082 | 338 ** The following Matlab-compatible handle graphics functions have been |
339 added: | |
13926
1f6d17b383f8
Add notes about new handle graphics functions.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13923
diff
changeset
|
340 |
14082 | 341 guidata uipanel uitoolbar |
342 guihandles uipushtool uiwait | |
343 uicontextmenu uiresume waitfor | |
344 uicontrol uitoggletool | |
13926
1f6d17b383f8
Add notes about new handle graphics functions.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13923
diff
changeset
|
345 |
13933
c3c8f513cf1f
NEWS: Clarify that uiXXX functions are experimental/preliminary.
Rik <octave@nomad.inbox5.com>
parents:
13926
diff
changeset
|
346 The uiXXX functions above are experimental. |
c3c8f513cf1f
NEWS: Clarify that uiXXX functions are experimental/preliminary.
Rik <octave@nomad.inbox5.com>
parents:
13926
diff
changeset
|
347 |
14082 | 348 Except for uiwait and uiresume, the uiXXX functions are not |
14408
9f7c22795c94
doc: Correct a few typos in NEWS.
Rik <octave@nomad.inbox5.com>
parents:
14407
diff
changeset
|
349 supported with the FLTK+OpenGL graphics toolkit. |
13926
1f6d17b383f8
Add notes about new handle graphics functions.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13923
diff
changeset
|
350 |
14082 | 351 The gnuplot graphics toolkit does not support any of the uiXXX |
352 functions nor the waitfor function. | |
13926
1f6d17b383f8
Add notes about new handle graphics functions.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13923
diff
changeset
|
353 |
14082 | 354 ** New keyword parfor (parallel for loop) is now recognized as a valid |
355 keyword. Implementation, however, is still mapped to an ordinary | |
356 for loop. | |
13919
8cb79741769d
doc: Update NEWS file with more 3.6.0 features
Rik <octave@nomad.inbox5.com>
parents:
13848
diff
changeset
|
357 |
13792
2eea4a2e6463
NEWS: Update file with more description of changes made to string functions in 3.6.0
Rik <octave@nomad.inbox5.com>
parents:
13749
diff
changeset
|
358 ** Other new functions added in 3.6.0: |
12586
f9b7aa3b88f8
Deprecate studentize(), replace with zscore().
Rik <octave@nomad.inbox5.com>
parents:
12574
diff
changeset
|
359 |
14178
3f2a3076b9a6
NEWS: Update list of functions added for 3.6.0 release.
Rik <octave@nomad.inbox5.com>
parents:
14176
diff
changeset
|
360 bicg nthargout usejava |
3f2a3076b9a6
NEWS: Update list of functions added for 3.6.0 release.
Rik <octave@nomad.inbox5.com>
parents:
14176
diff
changeset
|
361 is_dq_string narginchk waitbar |
3f2a3076b9a6
NEWS: Update list of functions added for 3.6.0 release.
Rik <octave@nomad.inbox5.com>
parents:
14176
diff
changeset
|
362 is_sq_string python zscore |
3f2a3076b9a6
NEWS: Update list of functions added for 3.6.0 release.
Rik <octave@nomad.inbox5.com>
parents:
14176
diff
changeset
|
363 is_function_handle register_graphics_toolkit |
3f2a3076b9a6
NEWS: Update list of functions added for 3.6.0 release.
Rik <octave@nomad.inbox5.com>
parents:
14176
diff
changeset
|
364 loaded_graphics_toolkits recycle |
3f2a3076b9a6
NEWS: Update list of functions added for 3.6.0 release.
Rik <octave@nomad.inbox5.com>
parents:
14176
diff
changeset
|
365 |
12413
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
366 ** Deprecated functions. |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
367 |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
368 The following functions were deprecated in Octave 3.2 and have been |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
369 removed from Octave 3.6. |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
370 |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
371 create_set spcholinv splu |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
372 dmult spcumprod spmax |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
373 iscommand spcumsum spmin |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
374 israwcommand spdet spprod |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
375 lchol spdiag spqr |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
376 loadimage spfind spsum |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
377 mark_as_command sphcat spsumsq |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
378 mark_as_rawcommand spinv spvcat |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
379 spatan2 spkron str2mat |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
380 spchol splchol unmark_command |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
381 spchol2inv split unmark_rawcommand |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
382 |
12498
294c0927c762
Deprecate is_duplicate_entry.
Rik <octave@nomad.inbox5.com>
parents:
12488
diff
changeset
|
383 The following functions have been deprecated in Octave 3.6 and will |
294c0927c762
Deprecate is_duplicate_entry.
Rik <octave@nomad.inbox5.com>
parents:
12488
diff
changeset
|
384 be removed from Octave 3.10 (or whatever version is the second major |
294c0927c762
Deprecate is_duplicate_entry.
Rik <octave@nomad.inbox5.com>
parents:
12488
diff
changeset
|
385 release after 3.6): |
294c0927c762
Deprecate is_duplicate_entry.
Rik <octave@nomad.inbox5.com>
parents:
12488
diff
changeset
|
386 |
12856
cad4cba03f19
Deprecate corrcoef, cor and replace with Matlab equivalent corr
Rik <octave@nomad.inbox5.com>
parents:
12803
diff
changeset
|
387 cut is_duplicate_entry |
cad4cba03f19
Deprecate corrcoef, cor and replace with Matlab equivalent corr
Rik <octave@nomad.inbox5.com>
parents:
12803
diff
changeset
|
388 cor polyderiv |
14018
5d5685216876
Deprecate shell_cmd function and update system, dos, unix commands
Rik <octave@nomad.inbox5.com>
parents:
13933
diff
changeset
|
389 corrcoef shell_cmd |
5d5685216876
Deprecate shell_cmd function and update system, dos, unix commands
Rik <octave@nomad.inbox5.com>
parents:
13933
diff
changeset
|
390 __error_text__ studentize |
5d5685216876
Deprecate shell_cmd function and update system, dos, unix commands
Rik <octave@nomad.inbox5.com>
parents:
13933
diff
changeset
|
391 error_text sylvester_matrix |
12586
f9b7aa3b88f8
Deprecate studentize(), replace with zscore().
Rik <octave@nomad.inbox5.com>
parents:
12574
diff
changeset
|
392 |
14441
d27e638b1c3a
NEWS: mention randperm changes
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
14408
diff
changeset
|
393 ** The following functions have been modified for Matlab compatibility: |
d27e638b1c3a
NEWS: mention randperm changes
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
14408
diff
changeset
|
394 |
d27e638b1c3a
NEWS: mention randperm changes
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
14408
diff
changeset
|
395 randperm |
d27e638b1c3a
NEWS: mention randperm changes
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
14408
diff
changeset
|
396 |
13251 | 397 Summary of important user-visible changes for version 3.4.3: |
398 ----------------------------------------------------------- | |
399 | |
13254
46f5e41c8610
Fix version numbers in NEWS
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
13251
diff
changeset
|
400 ** Octave 3.4.3 is a bug fixing release. |
13268
571557ddabb9
maint: periodic merge of stable to default.
Rik <octave@nomad.inbox5.com>
diff
changeset
|
401 |
12766
1887d8400ba3
First release candidate for 3.4.2
John W. Eaton <jwe@octave.org>
parents:
12746
diff
changeset
|
402 Summary of important user-visible changes for version 3.4.2: |
1887d8400ba3
First release candidate for 3.4.2
John W. Eaton <jwe@octave.org>
parents:
12746
diff
changeset
|
403 ----------------------------------------------------------- |
1887d8400ba3
First release candidate for 3.4.2
John W. Eaton <jwe@octave.org>
parents:
12746
diff
changeset
|
404 |
13254
46f5e41c8610
Fix version numbers in NEWS
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
13251
diff
changeset
|
405 ** Octave 3.4.2 fixes some minor installation problems that affected |
12766
1887d8400ba3
First release candidate for 3.4.2
John W. Eaton <jwe@octave.org>
parents:
12746
diff
changeset
|
406 version 3.4.1. |
1887d8400ba3
First release candidate for 3.4.2
John W. Eaton <jwe@octave.org>
parents:
12746
diff
changeset
|
407 |
12709 | 408 Summary of important user-visible changes for version 3.4.1: |
409 ----------------------------------------------------------- | |
12413
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
410 |
12709 | 411 ** Octave 3.4.1 is primarily a bug fixing release. |
412 | |
413 ** IMPORTANT note about binary incompatibility in this release: | |
12488
bea828c03969
Add new isrow, iscolumn functions.
Rik <octave@nomad.inbox5.com>
parents:
12464
diff
changeset
|
414 |
12746
07188dbaf89a
maint: minor update to NEWS file
John W. Eaton <jwe@octave.org>
parents:
12739
diff
changeset
|
415 Binary compatibility for all 3.4.x releases was originally planned, |
07188dbaf89a
maint: minor update to NEWS file
John W. Eaton <jwe@octave.org>
parents:
12739
diff
changeset
|
416 but this is impossible for the 3.4.1 release due to a bug in the way |
07188dbaf89a
maint: minor update to NEWS file
John W. Eaton <jwe@octave.org>
parents:
12739
diff
changeset
|
417 shared libraries were built in Octave 3.4.0. Because of this bug, |
07188dbaf89a
maint: minor update to NEWS file
John W. Eaton <jwe@octave.org>
parents:
12739
diff
changeset
|
418 .oct files built for Octave 3.4.0 must be recompiled before they |
07188dbaf89a
maint: minor update to NEWS file
John W. Eaton <jwe@octave.org>
parents:
12739
diff
changeset
|
419 will work with Octave 3.4.1. |
12498
294c0927c762
Deprecate is_duplicate_entry.
Rik <octave@nomad.inbox5.com>
parents:
12488
diff
changeset
|
420 |
12709 | 421 Given that there would be binary incompatibilities with shared |
12746
07188dbaf89a
maint: minor update to NEWS file
John W. Eaton <jwe@octave.org>
parents:
12739
diff
changeset
|
422 libraries going from Octave 3.4.0 to 3.4.1, the following |
07188dbaf89a
maint: minor update to NEWS file
John W. Eaton <jwe@octave.org>
parents:
12739
diff
changeset
|
423 incompatible changes were also made in this release: |
12709 | 424 |
425 * The Perl Compatible Regular Expression (PCRE) library is now | |
426 required to build Octave. | |
12413
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
427 |
12712 | 428 * Octave's libraries and .oct files are now installed in |
429 subdirectories of $libdir instead of $libexecdir. | |
430 | |
12709 | 431 Any future Octave 3.4.x release versions should remain binary |
12746
07188dbaf89a
maint: minor update to NEWS file
John W. Eaton <jwe@octave.org>
parents:
12739
diff
changeset
|
432 compatible with Octave 3.4.1 as proper library versioning is now |
07188dbaf89a
maint: minor update to NEWS file
John W. Eaton <jwe@octave.org>
parents:
12739
diff
changeset
|
433 being used as recommended by the libtool manual. |
12709 | 434 |
435 ** The following functions have been deprecated in Octave 3.4.1 and will | |
436 be removed from Octave 3.8 (or whatever version is the second major | |
437 release after 3.4): | |
438 | |
439 cquad is_duplicate_entry perror strerror | |
12413
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
440 |
12709 | 441 ** The following functions are new in 3.4.1: |
442 | |
12723
6ed1e0be181e
doc: Update NEWS with new functions for release 3.4.1
Rik <octave@nomad.inbox5.com>
parents:
12713
diff
changeset
|
443 colstyle gmres iscolumn isrow mgorth nproc rectangle |
12709 | 444 |
445 ** The get_forge_pkg function is now private. | |
12498
294c0927c762
Deprecate is_duplicate_entry.
Rik <octave@nomad.inbox5.com>
parents:
12488
diff
changeset
|
446 |
12709 | 447 ** The rectangle_lw, rectangle_sw, triangle_lw, and triangle_sw |
448 functions are now private. | |
449 | |
450 ** The logistic_regression_derivatives and logistic_regression_likelihood | |
451 functions are now private. | |
12498
294c0927c762
Deprecate is_duplicate_entry.
Rik <octave@nomad.inbox5.com>
parents:
12488
diff
changeset
|
452 |
12739 | 453 ** ChangeLog files in the Octave sources are no longer maintained |
454 by hand. Instead, there is a single ChangeLog file generated from | |
455 the Mercurial version control commit messages. Older ChangeLog | |
456 information can be found in the etc/OLD-ChangeLogs directory in the | |
457 source distribution. | |
458 | |
11112
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
459 Summary of important user-visible changes for version 3.4: |
9352 | 460 --------------------------------------------------------- |
461 | |
9799
cfd0aa788ae1
remove reference blas and lapack sources
John W. Eaton <jwe@octave.org>
parents:
9745
diff
changeset
|
462 ** 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
|
463 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
|
464 from the Octave sources. |
12418
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
465 |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
466 ** The ARPACK library is now distributed with Octave so it no longer |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
467 needs to be available as an external dependency when building |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
468 Octave. |
9799
cfd0aa788ae1
remove reference blas and lapack sources
John W. Eaton <jwe@octave.org>
parents:
9745
diff
changeset
|
469 |
10118 | 470 ** The `lookup' function was extended to be more useful for |
471 general-purpose binary searching. Using this improvement, the | |
472 ismember function was rewritten for significantly better | |
473 performance. | |
9352 | 474 |
475 ** Real, integer and logical matrices, when used in indexing, will now | |
476 cache the internal index_vector value (zero-based indices) when | |
477 successfully used as indices, eliminating the conversion penalty for | |
10118 | 478 subsequent indexing by the same matrix. In particular, this means it |
479 is no longer needed to avoid repeated indexing by logical arrays | |
480 using find for performance reasons. | |
9888 | 481 |
10118 | 482 ** Logical matrices are now treated more efficiently when used as |
483 indices. Octave will keep the index as a logical mask unless the | |
484 ratio of true elements is small enough, using a specialized | |
485 code. Previously, all logical matrices were always first converted | |
486 to index vectors. This results in savings in both memory and | |
487 computing time. | |
9480 | 488 |
10118 | 489 ** The `sub2ind' and `ind2sub' functions were reimplemented as compiled |
490 functions for better performance. These functions are now faster, | |
491 can deliver more economized results for ranges, and can reuse the | |
492 index cache mechanism described in previous paragraph. | |
493 | |
494 ** The built-in function equivalents to associative operators (`plus', | |
495 `times', `mtimes', `and', and `or') have been extended to accept | |
496 multiple arguments. This is especially useful for summing | |
497 (multiplying, etc.) lists of objects (of possibly distinct types): | |
9408 | 498 |
9449 | 499 matrix_sum = plus (matrix_list{:}); |
500 | |
10118 | 501 ** An FTP object type based on libcurl has been implemented. These |
502 objects allow ftp connections, downloads and uploads to be | |
503 managed. For example, | |
9880 | 504 |
10118 | 505 fp = ftp ("ftp.octave.org); |
506 cd (fp, "gnu/octave"); | |
507 mget (fp, "octave-3.2.3.tar.bz2"); | |
508 close (fp); | |
9880 | 509 |
10118 | 510 ** The default behavior of `assert (observed, expected)' has been |
511 relaxed to employ less strict checking that does not require the | |
512 internals of the values to match. This avoids previously valid | |
513 tests from breaking due to new internal classes introduced in future | |
514 Octave versions. | |
9449 | 515 |
516 For instance, all of these assertions were true in Octave 3.0.x | |
517 but false in 3.2.x due to new optimizations and improvements: | |
518 | |
519 assert (2*linspace (1, 5, 5), 2*(1:5)) | |
520 assert (zeros (0, 0), []) | |
521 assert (2*ones (1, 5), (2) (ones (1,5))) | |
9462 | 522 |
10118 | 523 ** The behavior of library functions `ismatrix', `issquare', and |
524 `issymmetric' has been changed for better consistency. | |
9873 | 525 |
10292 | 526 * The `ismatrix' function now returns true for all numeric, |
11562
1811f4f8b3b5
Rename cquad to quadcc and add to documentation.
Rik <octave@nomad.inbox5.com>
parents:
11540
diff
changeset
|
527 logical and character 2-D or N-D matrices. Previously, `ismatrix' |
10292 | 528 returned false if the first or second dimension was zero. |
529 Hence, `ismatrix ([])' was false, | |
530 while `ismatrix (zeros (1,2,0))' was true. | |
9873 | 531 |
10118 | 532 * The `issquare' function now returns a logical scalar, and is |
533 equivalent to the expression | |
534 | |
535 ismatrix (x) && ndims (x) == 2 && rows (x) == columns (x) | |
536 | |
537 The dimension is no longer returned. As a result, `issquare ([])' | |
538 now yields true. | |
9873 | 539 |
10118 | 540 * The `issymmetric' function now checks for symmetry instead of |
11562
1811f4f8b3b5
Rename cquad to quadcc and add to documentation.
Rik <octave@nomad.inbox5.com>
parents:
11540
diff
changeset
|
541 Hermitianness. For the latter, ishermitian was created. Also, |
10118 | 542 logical scalar is returned rather than the dimension, so |
543 `issymmetric ([])' is now true. | |
9873 | 544 |
10118 | 545 ** Function handles are now aware of overloaded functions. If a |
546 function is overloaded, the handle determines at the time of its | |
547 reference which function to call. A non-overloaded version does not | |
548 need to exist. | |
9873 | 549 |
10118 | 550 ** Overloading functions for built-in classes (double, int8, cell, |
551 etc.) is now compatible with Matlab. | |
9408 | 552 |
10323 | 553 ** Function handles can now be compared with the == and != operators, |
554 as well as the `isequal' function. | |
555 | |
10118 | 556 ** Performance of concatenation (using []) and the functions `cat', |
557 `horzcat', and `vertcat' has been improved for multidimensional | |
558 arrays. | |
10117 | 559 |
9547 | 560 ** The operation-assignment operators +=, -=, *= and /= now behave more |
10118 | 561 efficiently in certain cases. For instance, if M is a matrix and S a |
562 scalar, then the statement | |
9547 | 563 |
10118 | 564 M += S; |
9547 | 565 |
10118 | 566 will operate on M's data in-place if it is not shared by another |
567 variable, usually increasing both time and memory efficiency. | |
9547 | 568 |
9558 | 569 Only selected common combinations are affected, namely: |
9547 | 570 |
571 matrix += matrix | |
572 matrix -= matrix | |
9558 | 573 matrix .*= matrix |
574 matrix ./= matrix | |
575 | |
9547 | 576 matrix += scalar |
577 matrix -= scalar | |
578 matrix *= scalar | |
579 matrix /= scalar | |
9558 | 580 |
9552 | 581 logical matrix |= logical matrix |
582 logical matrix &= logical matrix | |
9547 | 583 |
10118 | 584 where matrix and scalar belong to the same class. The left-hand |
585 side must be a simple variable reference. | |
9888 | 586 |
10118 | 587 Moreover, when unary operators occur in expressions, Octave will |
588 also try to do the operation in-place if it's argument is a | |
12702
013cd94d8d7f
doc: Spelling fixes for various documentation files
John Bradshaw <john@johnbradshaw.org>
parents:
12698
diff
changeset
|
589 temporary expression. |
9589 | 590 |
10118 | 591 ** The effect of comparison operators (<, >, <=, and >=) applied to |
592 complex numbers has changed to be consistent with the strict | |
593 ordering defined by the `max', `min', and `sort' functions. More | |
594 specifically, complex numbers are compared by lexicographical | |
595 comparison of the pairs `[abs(z), arg(z)]'. Previously, only real | |
14188 | 596 parts were compared; this can be trivially achieved by converting |
597 the operands to real values with the `real' function. | |
9547 | 598 |
10118 | 599 ** The automatic simplification of complex computation results has |
600 changed. Octave will now simplify any complex number with a zero | |
601 imaginary part or any complex matrix with all elements having zero | |
602 imaginary part to a real value. Previously, this was done only for | |
603 positive zeros. Note that the behavior of the complex function is | |
604 unchanged and it still produces a complex value even if the | |
605 imaginary part is zero. | |
9826 | 606 |
10118 | 607 ** As a side effect of code refactoring in liboctave, the binary |
608 logical operations are now more easily amenable to compiler | |
609 optimizations and are thus significantly faster. | |
9595 | 610 |
10118 | 611 ** Octave now allows user-defined `subsasgn' methods to optimize out |
612 redundant copies. For more information, see the manual. | |
9595 | 613 |
10453 | 614 ** More efficient matrix division handling. Octave is now able to |
10118 | 615 handle the expressions |
9664 | 616 |
12418
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
617 M' \ V |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
618 M.' \ V |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
619 V / M |
9664 | 620 |
10118 | 621 (M is a matrix and V is a vector) more efficiently in certain cases. |
622 In particular, if M is triangular, all three expressions will be | |
623 handled by a single call to xTRTRS (from LAPACK), with appropriate | |
10453 | 624 flags. Previously, all three expressions required a physical |
10118 | 625 transpose of M. |
9664 | 626 |
10118 | 627 ** More efficient handling of certain mixed real-complex matrix |
628 operations. For instance, if RM is a real matrix and CM a complex | |
629 matrix, | |
9664 | 630 |
10118 | 631 RM * CM |
9664 | 632 |
633 can now be evaluated either as | |
634 | |
635 complex (RM * real (CM), RM * imag (CM)) | |
636 | |
637 or as | |
638 | |
639 complex (RM) * CM, | |
640 | |
10453 | 641 depending on the dimensions. The first form requires more |
642 temporaries and copying, but halves the FLOP count, which normally | |
643 brings better performance if RM has enough rows. Previously, the | |
644 second form was always used. | |
9664 | 645 |
11111 | 646 Matrix division is similarly affected. |
9664 | 647 |
10118 | 648 ** More efficient handling of triangular matrix factors returned from |
649 factorizations. The functions for computing QR, LU and Cholesky | |
650 factorizations will now automatically return the triangular matrix | |
651 factors with proper internal matrix_type set, so that it won't need | |
652 to be computed when the matrix is used for division. | |
9717 | 653 |
10118 | 654 ** The built-in `sum' function now handles the non-native summation |
655 (i.e., double precision sum of single or integer inputs) more | |
656 efficiently, avoiding a temporary conversion of the whole input | |
657 array to doubles. Further, `sum' can now accept an extra option | |
658 argument, using a compensated summation algorithm rather than a | |
659 straightforward sum, which significantly improves precision if lots | |
660 of cancellation occurs in the summation. | |
9717 | 661 |
10118 | 662 ** The built-in `bsxfun' function now uses optimized code for certain |
663 cases where built-in operator handles are passed in. Namely, the | |
664 optimizations concern the operators `plus', `minus', `times', | |
665 `ldivide', `rdivide', `power', `and', `or' (for logical arrays), | |
666 the relational operators `eq', `ne', `lt', `le', `gt', `ge', and the | |
667 functions `min' and `max'. Optimizations only apply when both | |
668 operands are of the same built-in class. Mixed real/complex and | |
669 single/double operations will first convert both operands to a | |
670 common type. | |
9745 | 671 |
10118 | 672 ** The `strfind' and `strrep' functions now have compiled |
673 implementations, facilitating significantly more efficient searching | |
674 and replacing in strings, especially with longer patterns. The code | |
675 of `strcat' has been vectorized and is now much more efficient when | |
676 many strings are concatenated. The `strcmpi' and `strncmpi' | |
677 functions are now built-in functions, providing better performance. | |
12713
8176c16628c8
doc: Add note about str2double API change to NEWS.
Rik <octave@nomad.inbox5.com>
parents:
12712
diff
changeset
|
678 |
8176c16628c8
doc: Add note about str2double API change to NEWS.
Rik <octave@nomad.inbox5.com>
parents:
12712
diff
changeset
|
679 ** 'str2double' now has a compiled implementation and the API conforms |
8176c16628c8
doc: Add note about str2double API change to NEWS.
Rik <octave@nomad.inbox5.com>
parents:
12712
diff
changeset
|
680 to Matlab. The additional Octave-specific features of returning a |
8176c16628c8
doc: Add note about str2double API change to NEWS.
Rik <octave@nomad.inbox5.com>
parents:
12712
diff
changeset
|
681 boolean matrix indicating which elements were successfully converted |
8176c16628c8
doc: Add note about str2double API change to NEWS.
Rik <octave@nomad.inbox5.com>
parents:
12712
diff
changeset
|
682 has been removed. |
10208 | 683 |
10453 | 684 ** Matlab-style ignoring input and output function arguments using |
11111 | 685 tilde (~) is now supported. Ignored output arguments may be |
686 detected from a function using the built-in function `isargout'. | |
687 For more details, consult the manual. | |
10886 | 688 |
10453 | 689 ** The list datatype, deprecated since the introduction of cells, has |
690 been removed. | |
10276 | 691 |
10453 | 692 ** The accumarray function has been optimized and is now significantly |
693 faster in certain important cases. | |
10054 | 694 |
10292 | 695 ** The behavior of isreal and isnumeric functions was changed to be more |
696 Matlab-compatible. | |
697 | |
10406 | 698 ** The integer math & conversion warnings (Octave:int-convert-nan, |
699 Octave:int-convert-non-int-val, Octave:int-convert-overflow, | |
11111 | 700 Octave:int-math-overflow) have been removed. |
10406 | 701 |
10453 | 702 ** rem and mod are now built-in functions. They also handle integer |
703 types efficiently using integer arithmetic. | |
10437 | 704 |
10536 | 705 ** Sparse indexing and indexed assignment has been mostly rewritten. |
706 Since Octave uses compressed column storage for sparse matrices, | |
707 major attention is devoted to operations manipulating whole columns. | |
708 Such operations are now significantly faster, as well as some other | |
709 important cases. | |
710 | |
711 Further, it is now possible to pre-allocate a sparse matrix and | |
712 subsequently fill it by assignments, provided they meet certain | |
713 conditions. For more information, consult the `spalloc' function, | |
714 which is no longer a mere dummy. Consequently, nzmax and nnz are no | |
11111 | 715 longer always equal in Octave. Octave may also produce a matrix |
716 with nnz < nzmax as a result of other operations, so you should | |
14093
050bc580cb60
doc: Various docstring improvements before 3.6.0 release.
Rik <octave@nomad.inbox5.com>
parents:
14082
diff
changeset
|
717 consistently use nnz unless you really want to use nzmax (i.e., the |
11111 | 718 space allocated for nonzero elements). |
10536 | 719 |
720 Sparse concatenation is also affected, and concatenating sparse | |
721 matrices, especially larger collections, is now significantly more | |
11111 | 722 efficient. This applies to both the [] operator and the |
10536 | 723 cat/vertcat/horzcat functions. |
724 | |
11111 | 725 ** It is now possible to optionally employ the xGESDD LAPACK drivers |
14188 | 726 for computing the singular value decomposition using svd, instead |
11111 | 727 of the default xGESVD, using the configuration pseudo-variable |
728 svd_driver. The xGESDD driver can be up to 6x times faster when | |
729 singular vectors are requested, but is reported to be somewhat less | |
10639 | 730 robust on highly ill-conditioned matrices. |
731 | |
732 ** Configuration pseudo-variables, such as page_screen_output or | |
733 confirm_recursive_rmdir (or the above mentioned svd_driver), now | |
734 accept a "local" option as second argument, requesting the change | |
11154
92a7c136ab35
Update NEWS with more deprecated functions from version 3.4
Rik <octave@nomad.inbox5.com>
parents:
11139
diff
changeset
|
735 to be undone when the current function returns: |
10639 | 736 |
737 function [status, msg] = rm_rf (dir) | |
738 confirm_recursive_rmdir (false, "local"); | |
739 [status, msg] = rmdir (dir, "s"); | |
740 ... | |
741 endfunction | |
742 | |
743 Upon return, confirm_recursive_rmdir will be restored to the value | |
744 it had on entry to the function, even if there were subsequent | |
745 changes to the variable in function rm_rf or any of the functions | |
746 it calls. | |
747 | |
11111 | 748 ** pkg now accepts a -forge option for downloading and installing |
749 packages from Octave Forge automatically. For example, | |
10774 | 750 |
751 pkg install -forge general | |
752 | |
11111 | 753 will automatically download the latest release of the general |
14093
050bc580cb60
doc: Various docstring improvements before 3.6.0 release.
Rik <octave@nomad.inbox5.com>
parents:
14082
diff
changeset
|
754 package and attempt to install it. No automatic resolving of |
11111 | 755 dependencies is provided. Further, |
10639 | 756 |
10774 | 757 pkg list -forge |
758 | |
759 can be used to list all available packages. | |
760 | |
12418
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
761 ** The internal data representation of structs has been completely |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
762 rewritten to make certain optimizations feasible. The field data |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
763 can now be shared between structs with equal keys but different |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
764 dimensions or values, making operations that preserve the fields |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
765 faster. Economized storage is now used for scalar structs (just |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
766 like most other scalars), making their usage more |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
767 memory-efficient. Certain array-like operations on structs |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
768 (concatenation, uniform cellfun, num2cell) have gained a |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
769 significant speed-up. Additionally, the octave_scalar_map class |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
770 now provides a simpler interface to work with scalar structs within |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
771 a C++ DLD function. |
10639 | 772 |
12418
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
773 ** Two new formats are available for displaying numbers: |
11111 | 774 |
12418
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
775 format short eng |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
776 format long eng |
11111 | 777 |
12418
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
778 Both display numbers in engineering notation, i.e., mantissa + |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
779 exponent where the exponent is a multiple of 3. |
10776
062304bd692e
Update NEWS with description of new engineering format for numbers.
Rik <octave@nomad.inbox5.com>
parents:
10774
diff
changeset
|
780 |
12418
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
781 ** The following functions are new in Octave 3.4: |
12723
6ed1e0be181e
doc: Update NEWS with new functions for release 3.4.1
Rik <octave@nomad.inbox5.com>
parents:
12713
diff
changeset
|
782 accumdim erfcx nfields pqpnonneg uigetdir |
6ed1e0be181e
doc: Update NEWS with new functions for release 3.4.1
Rik <octave@nomad.inbox5.com>
parents:
12713
diff
changeset
|
783 bitpack fileread nth_element quadcc uigetfile |
6ed1e0be181e
doc: Update NEWS with new functions for release 3.4.1
Rik <octave@nomad.inbox5.com>
parents:
12713
diff
changeset
|
784 bitunpack fminbnd onCleanup randi uiputfile |
6ed1e0be181e
doc: Update NEWS with new functions for release 3.4.1
Rik <octave@nomad.inbox5.com>
parents:
12713
diff
changeset
|
785 blkmm fskipl pbaspect repelems uimenu |
6ed1e0be181e
doc: Update NEWS with new functions for release 3.4.1
Rik <octave@nomad.inbox5.com>
parents:
12713
diff
changeset
|
786 cbrt ifelse pie3 reset whitebg |
6ed1e0be181e
doc: Update NEWS with new functions for release 3.4.1
Rik <octave@nomad.inbox5.com>
parents:
12713
diff
changeset
|
787 curl ishermitian powerset rsf2csf |
6ed1e0be181e
doc: Update NEWS with new functions for release 3.4.1
Rik <octave@nomad.inbox5.com>
parents:
12713
diff
changeset
|
788 chop isindex ppder saveas |
6ed1e0be181e
doc: Update NEWS with new functions for release 3.4.1
Rik <octave@nomad.inbox5.com>
parents:
12713
diff
changeset
|
789 daspect luupdate ppint strread |
6ed1e0be181e
doc: Update NEWS with new functions for release 3.4.1
Rik <octave@nomad.inbox5.com>
parents:
12713
diff
changeset
|
790 divergence merge ppjumps textread |
11109
41d18f6342f9
remove image_viewer function
John W. Eaton <jwe@octave.org>
parents:
10966
diff
changeset
|
791 |
12418
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
792 ** Using the image function to view images with external programs such |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
793 as display, xv, and xloadimage is no longer supported. The |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
794 image_viewer function has also been removed. |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
795 |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
796 ** The behavior of struct assignments to non-struct values has been |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
797 changed. Previously, it was possible to overwrite an arbitrary |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
798 value: |
11109
41d18f6342f9
remove image_viewer function
John W. Eaton <jwe@octave.org>
parents:
10966
diff
changeset
|
799 |
12418
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
800 a = 1; |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
801 a.x = 2; |
10873 | 802 |
12418
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
803 This is no longer possible unless a is an empty matrix or cell |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
804 array. |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
805 |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
806 ** The dlmread function has been extended to allow specifying a custom |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
807 value for empty fields. |
10829 | 808 |
12418
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
809 ** The dlmread and dlmwrite functions have been modified to accept |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
810 file IDs (as returned by fopen) in addition to file names. |
11111 | 811 |
12418
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
812 ** Octave can now optimize away the interpreter overhead of an |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
813 anonymous function handle, if the function simply calls another |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
814 function or handle with some of its parameters bound to certain |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
815 values. Example: |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
816 |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
817 f = @(x) sum (x, 1); |
10966 | 818 |
12418
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
819 When f is called, the call is forwarded to @sum with the constant 1 |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
820 appended, and the anonymous function call does not occur on the |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
821 call stack. |
10829 | 822 |
12424 | 823 ** For compatibility with Matlab, mu2lin (x) is now equivalent to |
824 mu2lin (x, 0). | |
825 | |
826 ** The new function `history_control' may be used to control the way | |
827 command lines are added to the history list when Octave is using | |
828 readline for command-line editing. For example | |
829 | |
830 history_control ("ignoredups") | |
831 | |
832 tells Octave to avoid adding duplicate lines to the history list. | |
833 | |
834 ** Octave now uses the gnulib library for improved portability and to | |
835 avoid bugs in operating system functions. | |
836 | |
11112
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
837 ** Deprecated functions. |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
838 |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
839 The following functions were deprecated in Octave 3.0 and have been |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
840 removed from Octave 3.4. |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
841 |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
842 beta_cdf geometric_pdf pascal_pdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
843 beta_inv geometric_rnd pascal_rnd |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
844 beta_pdf hypergeometric_cdf poisson_cdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
845 beta_rnd hypergeometric_inv poisson_inv |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
846 binomial_cdf hypergeometric_pdf poisson_pdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
847 binomial_inv hypergeometric_rnd poisson_rnd |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
848 binomial_pdf intersection polyinteg |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
849 binomial_rnd is_bool setstr |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
850 chisquare_cdf is_complex struct_contains |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
851 chisquare_inv is_list struct_elements |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
852 chisquare_pdf is_matrix t_cdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
853 chisquare_rnd is_scalar t_inv |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
854 clearplot is_square t_pdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
855 clg is_stream t_rnd |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
856 com2str is_struct uniform_cdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
857 exponential_cdf is_symmetric uniform_inv |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
858 exponential_inv is_vector uniform_pdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
859 exponential_pdf isstr uniform_rnd |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
860 exponential_rnd lognormal_cdf weibcdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
861 f_cdf lognormal_inv weibinv |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
862 f_inv lognormal_pdf weibpdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
863 f_pdf lognormal_rnd weibrnd |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
864 f_rnd meshdom weibull_cdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
865 gamma_cdf normal_cdf weibull_inv |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
866 gamma_inv normal_inv weibull_pdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
867 gamma_pdf normal_pdf weibull_rnd |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
868 gamma_rnd normal_rnd wiener_rnd |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
869 geometric_cdf pascal_cdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
870 geometric_inv pascal_inv |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
871 |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
872 The following functions were deprecated in Octave 3.2 and will |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
873 be removed from Octave 3.6 (or whatever version is the second major |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
874 release after 3.2): |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
875 |
11390
7ca273af4309
Deprecate sphcat and spvcat functions.
Rik <octave@nomad.inbox5.com>
parents:
11330
diff
changeset
|
876 create_set spcholinv splu |
7ca273af4309
Deprecate sphcat and spvcat functions.
Rik <octave@nomad.inbox5.com>
parents:
11330
diff
changeset
|
877 dmult spcumprod spmax |
7ca273af4309
Deprecate sphcat and spvcat functions.
Rik <octave@nomad.inbox5.com>
parents:
11330
diff
changeset
|
878 iscommand spcumsum spmin |
7ca273af4309
Deprecate sphcat and spvcat functions.
Rik <octave@nomad.inbox5.com>
parents:
11330
diff
changeset
|
879 israwcommand spdet spprod |
7ca273af4309
Deprecate sphcat and spvcat functions.
Rik <octave@nomad.inbox5.com>
parents:
11330
diff
changeset
|
880 lchol spdiag spqr |
7ca273af4309
Deprecate sphcat and spvcat functions.
Rik <octave@nomad.inbox5.com>
parents:
11330
diff
changeset
|
881 loadimage spfind spsum |
7ca273af4309
Deprecate sphcat and spvcat functions.
Rik <octave@nomad.inbox5.com>
parents:
11330
diff
changeset
|
882 mark_as_command sphcat spsumsq |
7ca273af4309
Deprecate sphcat and spvcat functions.
Rik <octave@nomad.inbox5.com>
parents:
11330
diff
changeset
|
883 mark_as_rawcommand spinv spvcat |
7ca273af4309
Deprecate sphcat and spvcat functions.
Rik <octave@nomad.inbox5.com>
parents:
11330
diff
changeset
|
884 spatan2 spkron str2mat |
7ca273af4309
Deprecate sphcat and spvcat functions.
Rik <octave@nomad.inbox5.com>
parents:
11330
diff
changeset
|
885 spchol splchol unmark_command |
7ca273af4309
Deprecate sphcat and spvcat functions.
Rik <octave@nomad.inbox5.com>
parents:
11330
diff
changeset
|
886 spchol2inv split unmark_rawcommand |
11112
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
887 |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
888 The following functions have been deprecated in Octave 3.4 and will |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
889 be removed from Octave 3.8 (or whatever version is the second major |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
890 release after 3.4): |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
891 |
14354
55bb8c902a4d
maint: Remove deprecated functions from dev branch for next (3.8) release.
Rik <octave@nomad.inbox5.com>
parents:
14294
diff
changeset
|
892 autocor cellidx gammai is_global replot values |
55bb8c902a4d
maint: Remove deprecated functions from dev branch for next (3.8) release.
Rik <octave@nomad.inbox5.com>
parents:
14294
diff
changeset
|
893 autocov dispatch glpkmex krylovb saveimage |
55bb8c902a4d
maint: Remove deprecated functions from dev branch for next (3.8) release.
Rik <octave@nomad.inbox5.com>
parents:
14294
diff
changeset
|
894 betai fstat intwarning perror strerror |
11112
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
895 |
7990
86dae6e5b83c
Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents:
7279
diff
changeset
|
896 Summary of important user-visible changes for version 3.2: |
5913 | 897 --------------------------------------------------------- |
2452 | 898 |
8737 | 899 ** Compatibility with Matlab graphics has been improved. |
6329 | 900 |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
901 The hggroup object and associated listener callback functions have |
8737 | 902 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
|
903 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
|
904 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
905 x = 0:0.1:10; |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
906 y = sin (x); |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
907 plot (x, y, "ydatasource", "y"); |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
908 for i = 1 : 100 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
909 pause(0.1) |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
910 y = sin (x + 0.1 * i); |
14188 | 911 refreshdata (); |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
912 endfor |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
913 |
8737 | 914 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
|
915 stem-series, bar-series, etc., objects for better Matlab |
8737 | 916 compatibility. |
917 | |
918 ** New graphics functions: | |
919 | |
11576
8ac9687dbe9f
rename backend to graphics_toolkit
John W. Eaton <jwe@octave.org>
parents:
11562
diff
changeset
|
920 addlistener ezcontour gcbo refresh |
8ac9687dbe9f
rename backend to graphics_toolkit
John W. Eaton <jwe@octave.org>
parents:
11562
diff
changeset
|
921 addproperty ezcontourf ginput refreshdata |
8ac9687dbe9f
rename backend to graphics_toolkit
John W. Eaton <jwe@octave.org>
parents:
11562
diff
changeset
|
922 allchild ezmesh gtext specular |
8ac9687dbe9f
rename backend to graphics_toolkit
John W. Eaton <jwe@octave.org>
parents:
11562
diff
changeset
|
923 available_graphics_toolkits ezmeshc intwarning surfl |
8ac9687dbe9f
rename backend to graphics_toolkit
John W. Eaton <jwe@octave.org>
parents:
11562
diff
changeset
|
924 graphics_toolkit ezplot ishghandle trisurf |
8ac9687dbe9f
rename backend to graphics_toolkit
John W. Eaton <jwe@octave.org>
parents:
11562
diff
changeset
|
925 cla ezplot3 isocolors waitforbuttonpress |
8ac9687dbe9f
rename backend to graphics_toolkit
John W. Eaton <jwe@octave.org>
parents:
11562
diff
changeset
|
926 clabel ezpolar isonormals |
8ac9687dbe9f
rename backend to graphics_toolkit
John W. Eaton <jwe@octave.org>
parents:
11562
diff
changeset
|
927 comet ezsurf isosurface |
8ac9687dbe9f
rename backend to graphics_toolkit
John W. Eaton <jwe@octave.org>
parents:
11562
diff
changeset
|
928 dellistener findall linkprop |
8ac9687dbe9f
rename backend to graphics_toolkit
John W. Eaton <jwe@octave.org>
parents:
11562
diff
changeset
|
929 diffuse gcbf plotmatrix |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
930 |
8737 | 931 ** New experimental OpenGL/FLTK based plotting system. |
932 | |
933 An experimental plotting system based on OpenGL and the FLTK | |
11576
8ac9687dbe9f
rename backend to graphics_toolkit
John W. Eaton <jwe@octave.org>
parents:
11562
diff
changeset
|
934 toolkit is now part of Octave. This graphics toolkit is disabled by |
8737 | 935 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
|
936 |
11576
8ac9687dbe9f
rename backend to graphics_toolkit
John W. Eaton <jwe@octave.org>
parents:
11562
diff
changeset
|
937 graphics_toolkit ("fltk") |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
938 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
939 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
|
940 |
11576
8ac9687dbe9f
rename backend to graphics_toolkit
John W. Eaton <jwe@octave.org>
parents:
11562
diff
changeset
|
941 graphics_toolkit (h, "fltk") |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
942 |
11139 | 943 where "h" is a valid figure handle. |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
944 |
8737 | 945 ** Functions providing direct access to gnuplot have been removed. |
946 | |
7990
86dae6e5b83c
Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents:
7279
diff
changeset
|
947 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
|
948 __gnuplot_show__, __gnuplot_replot__, __gnuplot_splot__, |
8737 | 949 __gnuplot_save_data__ and __gnuplot_send_inline_data__ have been |
950 removed from Octave. These function were incompatible with the | |
951 high level graphics handle code. | |
6329 | 952 |
8885 | 953 ** The Control, Finance and Quaternion functions have been removed. |
954 | |
955 These functions are now available as separate packages from | |
956 | |
957 http://octave.sourceforge.net/packages.html | |
958 | |
959 and can be reinstalled using the Octave package manager (see | |
960 the pkg function). | |
961 | |
962 ** Specific sparse matrix functions removed. | |
963 | |
964 The following functions, which handled only sparse matrices have | |
965 been removed. Instead of calling these functions directly, you | |
966 should use the corresponding function without the "sp" prefix. | |
8737 | 967 |
8885 | 968 spatan2 spcumsum spkron spprod |
969 spchol spdet splchol spqr | |
970 spchol2inv spdiag splu spsum | |
971 spcholinv spfind spmax spsumsqk | |
972 spcumprod spinv spmin | |
973 | |
974 ** Improvements to the debugger. | |
975 | |
976 The interactive debugging features have been improved. Stopping | |
977 on statements with dbstop should work correctly now. Stepping | |
978 into and over functions, and stepping one statement at a time | |
979 (with dbstep) now works. Moving up and down the call stack with | |
980 dbup and dbdown now works. The dbstack function is now available | |
981 to print the current function call stack. The new dbquit function | |
982 is available to exit the debugging mode. | |
983 | |
984 ** Improved traceback error messages. | |
985 | |
986 Traceback error messages are much more concise and easier to | |
987 understand. They now display information about the function call | |
988 stack instead of the stack of all statements that were active at | |
989 the point of the error. | |
8014
44d206ae68c9
improve fsolve compatibility
John W. Eaton <jwe@octave.org>
parents:
7990
diff
changeset
|
990 |
8737 | 991 ** Object Oriented Programming. |
8405
d79dfbff2f9d
document new norm features in NEWS
Jaroslav Hajek <highegg@gmail.com>
parents:
8396
diff
changeset
|
992 |
8737 | 993 Octave now includes OOP features and the user can create their own |
994 class objects and overloaded functions and operators. For | |
995 example, all methods of a class called "myclass" will be found in | |
996 a directory "@myclass" on the users path. The class specific | |
997 versions of functions and operators take precedence over the | |
998 generic versions of these functions. | |
999 | |
1000 New functions related to OOP include | |
7189 | 1001 |
8737 | 1002 class inferiorto isobject loadobj methods superiorto |
1003 | |
1004 See the Octave manual for more details. | |
7038 | 1005 |
8747 | 1006 ** Parsing of Command-style Functions. |
1007 | |
1008 Octave now parses command-style functions without needing to first | |
1009 declare them with "mark_as_command". The rules for recognizing a | |
1010 command-style function calls are | |
1011 | |
1012 * A command must appear as the first word in a statement, | |
1013 followed by a space. | |
1014 | |
1015 * The first character after the space must not be '=' or '(' | |
1016 | |
1017 * The next token after the space must not look like a binary | |
1018 operator. | |
1019 | |
1020 These rules should be mostly compatible with the way Matlab parses | |
1021 command-style function calls and allow users to define commands in | |
1022 .m files without having to mark them as commands. | |
1023 | |
1024 Note that previous versions of Octave allowed expressions like | |
1025 | |
1026 x = load -text foo.dat | |
1027 | |
1028 but an expression like this will now generate a parse error. In | |
1029 order to assign the value returned by a function to a variable, | |
1030 you must use the normal function call syntax: | |
1031 | |
1032 x = load ("-text", "foo.dat"); | |
1033 | |
8737 | 1034 ** Block comments. |
1035 | |
8747 | 1036 Commented code can be between matching "#{" and "#}" or "%{" and |
1037 "%}" markers, even if the commented code spans several line. This | |
1038 allows blocks code to be commented, without needing to comment | |
1039 each line. For example, | |
5814 | 1040 |
8747 | 1041 function [s, t] = func (x, y) |
1042 s = 2 * x; | |
1043 #{ | |
1044 s *= y; | |
1045 t = y + x; | |
1046 #} | |
7990
86dae6e5b83c
Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents:
7279
diff
changeset
|
1047 endfunction |
5814 | 1048 |
8747 | 1049 the lines "s *= y;" and "t = y + x" will not be executed. |
8737 | 1050 |
12400
5252f12537f8
don't warn about coercing nested functions to subfunctions if yyparse failed
John W. Eaton <jwe@octave.org>
parents:
12224
diff
changeset
|
1051 ** If any subfunction in a file ends with "end" or "endfunction", then |
5252f12537f8
don't warn about coercing nested functions to subfunctions if yyparse failed
John W. Eaton <jwe@octave.org>
parents:
12224
diff
changeset
|
1052 they all must end that way. Previously, Octave accepted |
5252f12537f8
don't warn about coercing nested functions to subfunctions if yyparse failed
John W. Eaton <jwe@octave.org>
parents:
12224
diff
changeset
|
1053 |
5252f12537f8
don't warn about coercing nested functions to subfunctions if yyparse failed
John W. Eaton <jwe@octave.org>
parents:
12224
diff
changeset
|
1054 function main () |
5252f12537f8
don't warn about coercing nested functions to subfunctions if yyparse failed
John W. Eaton <jwe@octave.org>
parents:
12224
diff
changeset
|
1055 ... |
5252f12537f8
don't warn about coercing nested functions to subfunctions if yyparse failed
John W. Eaton <jwe@octave.org>
parents:
12224
diff
changeset
|
1056 # no endfunction here. |
5252f12537f8
don't warn about coercing nested functions to subfunctions if yyparse failed
John W. Eaton <jwe@octave.org>
parents:
12224
diff
changeset
|
1057 function sub () |
5252f12537f8
don't warn about coercing nested functions to subfunctions if yyparse failed
John W. Eaton <jwe@octave.org>
parents:
12224
diff
changeset
|
1058 ... |
5252f12537f8
don't warn about coercing nested functions to subfunctions if yyparse failed
John W. Eaton <jwe@octave.org>
parents:
12224
diff
changeset
|
1059 endfunction |
5252f12537f8
don't warn about coercing nested functions to subfunctions if yyparse failed
John W. Eaton <jwe@octave.org>
parents:
12224
diff
changeset
|
1060 |
5252f12537f8
don't warn about coercing nested functions to subfunctions if yyparse failed
John W. Eaton <jwe@octave.org>
parents:
12224
diff
changeset
|
1061 but this is no longer allowed. |
5252f12537f8
don't warn about coercing nested functions to subfunctions if yyparse failed
John W. Eaton <jwe@octave.org>
parents:
12224
diff
changeset
|
1062 |
8737 | 1063 ** Special treatment in the parser of expressions like "a' * b". |
2452 | 1064 |
8737 | 1065 In these cases the transpose is no longer explicitly formed and |
1066 BLAS libraries are called with the transpose flagged, | |
1067 significantly improving performance for these kinds of | |
1068 operations. | |
8417
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8405
diff
changeset
|
1069 |
8737 | 1070 ** Single Precision data type. |
2452 | 1071 |
8737 | 1072 Octave now includes a single precision data type. Single |
1073 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
|
1074 from functions like ones, eye, etc. For example, |
5995 | 1075 |
8737 | 1076 single (1) |
1077 ones (2, 2, "single") | |
1078 zeros (2, 2, "single") | |
1079 eye (2, 2, "single") | |
1080 Inf (2, 2, "single") | |
1081 NaN (2, 2, "single") | |
1082 NA (2, 2, "single") | |
7279 | 1083 |
8737 | 1084 all create single precision variables. For compatibility with |
1085 Matlab, mixed double/single precision operators and functions | |
1086 return single precision types. | |
1087 | |
1088 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
|
1089 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
|
1090 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
|
1091 visa-versa are warned that compatibility might not be assured. |
7279 | 1092 |
8737 | 1093 ** Improved array indexing. |
1094 | |
1095 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
|
1096 completely rewritten and indexing is now significantly faster. |
8737 | 1097 |
8755 | 1098 ** Improved memory management. |
1099 | |
1100 Octave will now attempt to share data in some cases where previously | |
1101 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
|
1102 conversions between cells, structs and cs-lists. This usually reduces |
8755 | 1103 both time and memory consumption. |
9128 | 1104 Also, Octave will now attempt to detect and optimize usage of a vector |
1105 as a stack, when elements are being repeatedly inserted at/removed from | |
1106 the end of the vector. | |
8755 | 1107 |
8738 | 1108 ** Improved performance for reduction operations. |
1109 | |
8755 | 1110 The performance of the sum, prod, sumsq, cumsum, cumprod, any, all, |
1111 max and min functions has been significantly improved. | |
8738 | 1112 |
9006 | 1113 ** Sorting and searching. |
1114 | |
1115 The performance of sort has been improved, especially when sorting | |
10453 | 1116 indices are requested. An efficient built-in issorted |
1117 implementation was added. The sortrows function now uses a more | |
12702
013cd94d8d7f
doc: Spelling fixes for various documentation files
John Bradshaw <john@johnbradshaw.org>
parents:
12698
diff
changeset
|
1118 efficient algorithm, especially in the homogeneous case. The lookup |
10453 | 1119 function is now a built-in function performing a binary search, |
1120 optimized for long runs of close elements. Lookup also works with | |
1121 cell arrays of strings. | |
9006 | 1122 |
1123 ** Range arithmetics | |
1124 | |
10453 | 1125 For some operations on ranges, Octave will attempt to keep the |
1126 result as a range. These include negation, adding a scalar, | |
14093
050bc580cb60
doc: Various docstring improvements before 3.6.0 release.
Rik <octave@nomad.inbox5.com>
parents:
14082
diff
changeset
|
1127 subtracting a scalar, and multiplying by a scalar. Ranges with zero |
10453 | 1128 increment are allowed and can be constructed using the built-in |
1129 function `ones'. | |
9006 | 1130 |
1131 ** Various performance improvements. | |
1132 | |
10453 | 1133 Performance of a number of other built-in operations and functions |
1134 was improved, including: | |
9006 | 1135 |
1136 * logical operations | |
1137 * comparison operators | |
1138 * element-wise power | |
1139 * accumarray | |
1140 * cellfun | |
1141 * isnan | |
1142 * isinf | |
1143 * isfinite | |
1144 * nchoosek | |
1145 * repmat | |
1146 * strcmp | |
1147 | |
8737 | 1148 ** 64-bit integer arithmetic. |
1149 | |
1150 Arithmetic with 64-bit integers (int64 and uint64 types) is fully | |
1151 supported, with saturation semantics like the other integer types. | |
1152 Performance of most integer arithmetic operations has been | |
1153 improved by using integer arithmetic directly. Previously, Octave | |
1154 performed integer math with saturation semantics by converting the | |
1155 operands to double precision, performing the operation, and then | |
1156 converting the result back to an integer value, truncating if | |
1157 necessary. | |
1158 | |
8885 | 1159 ** Diagonal and permutation matrices. |
1160 | |
1161 The interpreter can now treat diagonal and permutation matrices as | |
1162 special objects that store only the non-zero elements, rather than | |
1163 general full matrices. Therefore, it is now possible to construct | |
1164 and use these matrices in linear algebra without suffering a | |
1165 performance penalty due to storing large numbers of zero elements. | |
1166 | |
1167 ** Improvements to fsolve. | |
1168 | |
1169 The fsolve function now accepts an option structure argument (see | |
1170 also the optimset function). The INFO values returned from fsolve | |
1171 have changed to be compatible with Matlab's fsolve function. | |
1172 Additionally, fsolve is now able to solve overdetermined systems, | |
1173 complex-differentiable complex systems, systems with a sparse | |
1174 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
|
1175 inputs. It can also be called recursively. |
8885 | 1176 |
8737 | 1177 ** Improvements to the norm function. |
1178 | |
1179 The norm function is now able to compute row or column norms of a | |
1180 matrix in a single call, as well as general matrix p-norms. | |
1181 | |
1182 ** New functions for computing some eigenvalues or singular values. | |
1183 | |
1184 The eigs and svds functions have been included in Octave. These | |
1185 functions require the ARPACK library (now distributed under a | |
1186 GPL-compatible license). | |
1187 | |
1188 ** 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
|
1189 |
8737 | 1190 choldelete cholshift qrdelete qrshift |
1191 cholinsert cholupdate qrinsert qrupdate | |
1192 | |
1193 ** New quadrature functions. | |
1194 | |
1195 dblquad quadgk quadv triplequad | |
1196 | |
8885 | 1197 ** New functions for reading and writing images. |
1198 | |
1199 The imwrite and imread functions have been included in Octave. | |
1200 These functions require the GraphicsMagick library. The new | |
1201 function imfinfo provides information about an image file (size, | |
1202 type, colors, etc.) | |
1203 | |
9215
1500d0197484
allow multiple input event hook functions to be installed simultaneously
John W. Eaton <jwe@octave.org>
parents:
9128
diff
changeset
|
1204 ** 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
|
1205 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
|
1206 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
|
1207 |
8737 | 1208 ** Other miscellaneous new functions. |
8370
34960ba08a81
document more new features in the NEWS file
Jaroslav Hajek <highegg@gmail.com>
parents:
8292
diff
changeset
|
1209 |
8932
2d0f8692a82e
Add the 'histc' function
Soren Hauberg <hauberg@gmail.com>
parents:
8888
diff
changeset
|
1210 addtodate hypot reallog |
2d0f8692a82e
Add the 'histc' function
Soren Hauberg <hauberg@gmail.com>
parents:
8888
diff
changeset
|
1211 bicgstab idivide realpow |
9006 | 1212 cellslices info realsqrt |
1213 cgs interp1q rectint | |
1214 command_line_path isdebugmode regexptranslate | |
1215 contrast isfloat restoredefaultpath | |
1216 convn isstrprop roundb | |
1217 cummin log1p rundemos | |
1218 cummax lsqnonneg runlength | |
1219 datetick matlabroot saveobj | |
1220 display namelengthmax spaugment | |
1221 expm1 nargoutchk strchr | |
1222 filemarker pathdef strvcat | |
1223 fstat perl subspace | |
1224 full prctile symvar | |
1225 fzero quantile treelayout | |
1226 genvarname re_read_readline_init_file validatestring | |
1227 histc | |
8370
34960ba08a81
document more new features in the NEWS file
Jaroslav Hajek <highegg@gmail.com>
parents:
8292
diff
changeset
|
1228 |
8885 | 1229 ** Changes to strcat. |
1230 | |
1231 The strcat function is now compatible with Matlab's strcat | |
1232 function, which removes trailing whitespace when concatenating | |
1233 character strings. For example | |
1234 | |
1235 strcat ('foo ', 'bar') | |
1236 ==> 'foobar' | |
1237 | |
1238 The new function cstrcat provides the previous behavior of | |
1239 Octave's strcat. | |
1240 | |
1241 ** Improvements to the help functions. | |
1242 | |
9034
52515efc50c0
Documentation cleanup on NEWS file
Rik <rdrider0-list@yahoo.com>
parents:
9031
diff
changeset
|
1243 The help system has been mostly re-implemented in .m files to make |
8885 | 1244 it easier to modify. Performance of the lookfor function has been |
1245 greatly improved by caching the help text from all functions that | |
1246 are distributed with Octave. The pkg function has been modified | |
1247 to generate cache files for external packages when they are | |
1248 installed. | |
1249 | |
8888
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
1250 ** Deprecated functions. |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
1251 |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
1252 The following functions were deprecated in Octave 3.0 and will be |
11112
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1253 removed from Octave 3.4 (or whatever version is the second major |
8888
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
1254 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
|
1255 |
11112
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1256 beta_cdf geometric_pdf pascal_pdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1257 beta_inv geometric_rnd pascal_rnd |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1258 beta_pdf hypergeometric_cdf poisson_cdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1259 beta_rnd hypergeometric_inv poisson_inv |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1260 binomial_cdf hypergeometric_pdf poisson_pdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1261 binomial_inv hypergeometric_rnd poisson_rnd |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1262 binomial_pdf intersection polyinteg |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1263 binomial_rnd is_bool setstr |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1264 chisquare_cdf is_complex struct_contains |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1265 chisquare_inv is_list struct_elements |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1266 chisquare_pdf is_matrix t_cdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1267 chisquare_rnd is_scalar t_inv |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1268 clearplot is_square t_pdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1269 clg is_stream t_rnd |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1270 com2str is_struct uniform_cdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1271 exponential_cdf is_symmetric uniform_inv |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1272 exponential_inv is_vector uniform_pdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1273 exponential_pdf isstr uniform_rnd |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1274 exponential_rnd lognormal_cdf weibcdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1275 f_cdf lognormal_inv weibinv |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1276 f_inv lognormal_pdf weibpdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1277 f_pdf lognormal_rnd weibrnd |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1278 f_rnd meshdom weibull_cdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1279 gamma_cdf normal_cdf weibull_inv |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1280 gamma_inv normal_inv weibull_pdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1281 gamma_pdf normal_pdf weibull_rnd |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1282 gamma_rnd normal_rnd wiener_rnd |
8888
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
1283 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
|
1284 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
|
1285 |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
1286 The following functions are now deprecated in Octave 3.2 and will |
11112
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1287 be removed from Octave 3.6 (or whatever version is the second major |
8888
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
1288 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
|
1289 |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
1290 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
|
1291 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
|
1292 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
|
1293 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
|
1294 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
|
1295 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
|
1296 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
|
1297 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
|
1298 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
|
1299 spchol split |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
1300 spchol2inv splu |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
1301 |
7990
86dae6e5b83c
Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents:
7279
diff
changeset
|
1302 See NEWS.3 for old news. |