Mercurial > hg > octave-nkf
annotate NEWS @ 18038:c404cec84eb4
New function validaattributes to perform input checking for functions.
* validateattributes.m: new function file.
* NEWS: add function to list of new functions for next release.
* interpreter/func.txi: add docstring of new function to the functions chapter.
* general/module.mk: add validateattributes.m to list of files to be installed.
author | Carnë Draug <carandraug@octave.org> |
---|---|
date | Mon, 02 Dec 2013 18:06:40 +0000 |
parents | 132667955f66 |
children | 728cb7530538 |
rev | line source |
---|---|
18038
c404cec84eb4
New function validaattributes to perform input checking for functions.
Carnë Draug <carandraug@octave.org>
parents:
18035
diff
changeset
|
1 Summary of important user-visible changes for version 4.0: |
c404cec84eb4
New function validaattributes to perform input checking for functions.
Carnë Draug <carandraug@octave.org>
parents:
18035
diff
changeset
|
2 --------------------------------------------------------- |
c404cec84eb4
New function validaattributes to perform input checking for functions.
Carnë Draug <carandraug@octave.org>
parents:
18035
diff
changeset
|
3 |
c404cec84eb4
New function validaattributes to perform input checking for functions.
Carnë Draug <carandraug@octave.org>
parents:
18035
diff
changeset
|
4 ** Other new functions added in 4.0.0: |
c404cec84eb4
New function validaattributes to perform input checking for functions.
Carnë Draug <carandraug@octave.org>
parents:
18035
diff
changeset
|
5 |
c404cec84eb4
New function validaattributes to perform input checking for functions.
Carnë Draug <carandraug@octave.org>
parents:
18035
diff
changeset
|
6 validateattributes |
c404cec84eb4
New function validaattributes to perform input checking for functions.
Carnë Draug <carandraug@octave.org>
parents:
18035
diff
changeset
|
7 |
17752
031eaa90064e
NEWS: Update announcements for 3.8 release.
Rik <rik@octave.org>
parents:
17698
diff
changeset
|
8 Summary of important user-visible changes for version 3.8: |
13687
59fd35807941
New GUI branch
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
13268
diff
changeset
|
9 --------------------------------------------------------- |
59fd35807941
New GUI branch
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
13268
diff
changeset
|
10 |
18032
482cc05b4f99
update gui info text and corresponding NEWS entry
John W. Eaton <jwe@octave.org>
parents:
18007
diff
changeset
|
11 ** One of the biggest new features for Octave 3.8 is a graphical user |
482cc05b4f99
update gui info text and corresponding NEWS entry
John W. Eaton <jwe@octave.org>
parents:
18007
diff
changeset
|
12 interface. It is the one thing that users have requested most |
482cc05b4f99
update gui info text and corresponding NEWS entry
John W. Eaton <jwe@octave.org>
parents:
18007
diff
changeset
|
13 often over the last few years and now it is almost ready. But |
482cc05b4f99
update gui info text and corresponding NEWS entry
John W. Eaton <jwe@octave.org>
parents:
18007
diff
changeset
|
14 because it is not quite as polished as we would like, we have |
482cc05b4f99
update gui info text and corresponding NEWS entry
John W. Eaton <jwe@octave.org>
parents:
18007
diff
changeset
|
15 decided to wait until the 4.0.x release series before making the |
482cc05b4f99
update gui info text and corresponding NEWS entry
John W. Eaton <jwe@octave.org>
parents:
18007
diff
changeset
|
16 GUI the default interface (until then, you can use the --force-gui |
482cc05b4f99
update gui info text and corresponding NEWS entry
John W. Eaton <jwe@octave.org>
parents:
18007
diff
changeset
|
17 option to start the GUI). |
482cc05b4f99
update gui info text and corresponding NEWS entry
John W. Eaton <jwe@octave.org>
parents:
18007
diff
changeset
|
18 |
482cc05b4f99
update gui info text and corresponding NEWS entry
John W. Eaton <jwe@octave.org>
parents:
18007
diff
changeset
|
19 Given the length of time and the number of bug fixes and |
482cc05b4f99
update gui info text and corresponding NEWS entry
John W. Eaton <jwe@octave.org>
parents:
18007
diff
changeset
|
20 improvements since the last major release Octave, we also decided |
482cc05b4f99
update gui info text and corresponding NEWS entry
John W. Eaton <jwe@octave.org>
parents:
18007
diff
changeset
|
21 against delaying the release of all these new improvements any |
482cc05b4f99
update gui info text and corresponding NEWS entry
John W. Eaton <jwe@octave.org>
parents:
18007
diff
changeset
|
22 longer just to perfect the GUI. So please enjoy the 3.8 release of |
482cc05b4f99
update gui info text and corresponding NEWS entry
John W. Eaton <jwe@octave.org>
parents:
18007
diff
changeset
|
23 Octave and the preview of the new GUI. We beleive it is working |
482cc05b4f99
update gui info text and corresponding NEWS entry
John W. Eaton <jwe@octave.org>
parents:
18007
diff
changeset
|
24 reasonably well, but we also know that there are some obvious rough |
482cc05b4f99
update gui info text and corresponding NEWS entry
John W. Eaton <jwe@octave.org>
parents:
18007
diff
changeset
|
25 spots and many things that could be improved. |
482cc05b4f99
update gui info text and corresponding NEWS entry
John W. Eaton <jwe@octave.org>
parents:
18007
diff
changeset
|
26 |
482cc05b4f99
update gui info text and corresponding NEWS entry
John W. Eaton <jwe@octave.org>
parents:
18007
diff
changeset
|
27 WE NEED YOUR HELP. There are many ways that you can help us fix |
482cc05b4f99
update gui info text and corresponding NEWS entry
John W. Eaton <jwe@octave.org>
parents:
18007
diff
changeset
|
28 the remaining problems, complete the GUI, and improve the overall |
482cc05b4f99
update gui info text and corresponding NEWS entry
John W. Eaton <jwe@octave.org>
parents:
18007
diff
changeset
|
29 user experience for both novices and experts alike: |
482cc05b4f99
update gui info text and corresponding NEWS entry
John W. Eaton <jwe@octave.org>
parents:
18007
diff
changeset
|
30 |
482cc05b4f99
update gui info text and corresponding NEWS entry
John W. Eaton <jwe@octave.org>
parents:
18007
diff
changeset
|
31 * If you are a skilled software developer, you can help by |
482cc05b4f99
update gui info text and corresponding NEWS entry
John W. Eaton <jwe@octave.org>
parents:
18007
diff
changeset
|
32 contributing your time to help with Octave's development. See |
482cc05b4f99
update gui info text and corresponding NEWS entry
John W. Eaton <jwe@octave.org>
parents:
18007
diff
changeset
|
33 http://octave.org/get-involved.html for more information. |
482cc05b4f99
update gui info text and corresponding NEWS entry
John W. Eaton <jwe@octave.org>
parents:
18007
diff
changeset
|
34 |
482cc05b4f99
update gui info text and corresponding NEWS entry
John W. Eaton <jwe@octave.org>
parents:
18007
diff
changeset
|
35 * If Octave does not work properly, you are encouraged |
482cc05b4f99
update gui info text and corresponding NEWS entry
John W. Eaton <jwe@octave.org>
parents:
18007
diff
changeset
|
36 report the problems you find. See http://octave.org/bugs.html |
482cc05b4f99
update gui info text and corresponding NEWS entry
John W. Eaton <jwe@octave.org>
parents:
18007
diff
changeset
|
37 for more information about how to report problems. |
482cc05b4f99
update gui info text and corresponding NEWS entry
John W. Eaton <jwe@octave.org>
parents:
18007
diff
changeset
|
38 |
482cc05b4f99
update gui info text and corresponding NEWS entry
John W. Eaton <jwe@octave.org>
parents:
18007
diff
changeset
|
39 * Whether you are a user or developer, you can help to fund the |
482cc05b4f99
update gui info text and corresponding NEWS entry
John W. Eaton <jwe@octave.org>
parents:
18007
diff
changeset
|
40 project. Octave development takes a lot of time and expertise. |
482cc05b4f99
update gui info text and corresponding NEWS entry
John W. Eaton <jwe@octave.org>
parents:
18007
diff
changeset
|
41 Your contributions help to ensure that Octave will continue to |
482cc05b4f99
update gui info text and corresponding NEWS entry
John W. Eaton <jwe@octave.org>
parents:
18007
diff
changeset
|
42 improve. See http://octave.org/donate.html for more details. |
482cc05b4f99
update gui info text and corresponding NEWS entry
John W. Eaton <jwe@octave.org>
parents:
18007
diff
changeset
|
43 |
482cc05b4f99
update gui info text and corresponding NEWS entry
John W. Eaton <jwe@octave.org>
parents:
18007
diff
changeset
|
44 We hope you find Octave to be useful. Please help us make it even |
482cc05b4f99
update gui info text and corresponding NEWS entry
John W. Eaton <jwe@octave.org>
parents:
18007
diff
changeset
|
45 better for the future! |
14271
e2a14d1b4eaa
rgbplot.m: Add new Matlab compatible function for plotting colormaps
Rik <octave@nomad.inbox5.com>
parents:
14188
diff
changeset
|
46 |
17501
55680de6a897
make fltk the default graphics toolkit
John W. Eaton <jwe@octave.org>
parents:
17499
diff
changeset
|
47 ** Octave now uses OpenGL graphics by default with FLTK widgets. If |
55680de6a897
make fltk the default graphics toolkit
John W. Eaton <jwe@octave.org>
parents:
17499
diff
changeset
|
48 OpenGL libraries or FLTK widgets are not available when Octave is |
55680de6a897
make fltk the default graphics toolkit
John W. Eaton <jwe@octave.org>
parents:
17499
diff
changeset
|
49 built, gnuplot is used. You may also choose to use gnuplot for |
55680de6a897
make fltk the default graphics toolkit
John W. Eaton <jwe@octave.org>
parents:
17499
diff
changeset
|
50 graphics by executing the command |
55680de6a897
make fltk the default graphics toolkit
John W. Eaton <jwe@octave.org>
parents:
17499
diff
changeset
|
51 |
55680de6a897
make fltk the default graphics toolkit
John W. Eaton <jwe@octave.org>
parents:
17499
diff
changeset
|
52 graphics_toolkit ("gnuplot") |
55680de6a897
make fltk the default graphics toolkit
John W. Eaton <jwe@octave.org>
parents:
17499
diff
changeset
|
53 |
55680de6a897
make fltk the default graphics toolkit
John W. Eaton <jwe@octave.org>
parents:
17499
diff
changeset
|
54 Adding this command to your ~/.octaverc file will set the default |
55680de6a897
make fltk the default graphics toolkit
John W. Eaton <jwe@octave.org>
parents:
17499
diff
changeset
|
55 for each session. |
55680de6a897
make fltk the default graphics toolkit
John W. Eaton <jwe@octave.org>
parents:
17499
diff
changeset
|
56 |
17797
06a850f83dd4
build: Remove embedded gl2ps. Require gl2ps as external dependency.
Rik <rik@octave.org>
parents:
17764
diff
changeset
|
57 ** Printing or saving figures with OpenGL graphics requires the |
06a850f83dd4
build: Remove embedded gl2ps. Require gl2ps as external dependency.
Rik <rik@octave.org>
parents:
17764
diff
changeset
|
58 gl2ps library which is no longer distributed with Octave. The |
06a850f83dd4
build: Remove embedded gl2ps. Require gl2ps as external dependency.
Rik <rik@octave.org>
parents:
17764
diff
changeset
|
59 software is widely available in most package managers. If a |
06a850f83dd4
build: Remove embedded gl2ps. Require gl2ps as external dependency.
Rik <rik@octave.org>
parents:
17764
diff
changeset
|
60 pre-compiled package does not exist for your system, you can find |
06a850f83dd4
build: Remove embedded gl2ps. Require gl2ps as external dependency.
Rik <rik@octave.org>
parents:
17764
diff
changeset
|
61 the current sources at http://www.geuz.org/gl2ps/. |
06a850f83dd4
build: Remove embedded gl2ps. Require gl2ps as external dependency.
Rik <rik@octave.org>
parents:
17764
diff
changeset
|
62 |
14546
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
63 ** 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
|
64 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
|
65 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
|
66 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
|
67 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
|
68 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
|
69 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
|
70 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
|
71 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
|
72 the global namespace. |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
73 |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
74 Example: |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
75 function outerfunc (...) |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
76 ... |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
77 function nested1 (...) |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
78 ... |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
79 function nested2 (...) |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
80 ... |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
81 endfunction |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
82 endfunction |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
83 |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
84 function nested3 (...) |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
85 ... |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
86 endfunction |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
87 endfunction |
b8edefd8c111
NEWS: Expand section on nested functions and clarify regexprep changes.
Rik <octave@nomad.inbox5.com>
parents:
14544
diff
changeset
|
88 |
17294
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
89 ** Line continuations inside character strings have changed. |
14536
6d5c951ec520
Add 'emptymatch', 'noemptymatch' options to regular expressions.
Rik <octave@nomad.inbox5.com>
parents:
14534
diff
changeset
|
90 |
17294
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
91 The sequence '...' is no longer recognized as a line continuation |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
92 inside a character string. A backslash '\' followed by a newline |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
93 character is no longer recognized as a line continuation inside |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
94 single-quoted character strings. Inside double-quoted character |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
95 strings, a backslash followed by a newline character is still |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
96 recognized as a line continuation, but the backslash character must |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
97 be followed *immediately* by the newline character. No whitespace or |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
98 end-of-line comment may appear between them. |
14536
6d5c951ec520
Add 'emptymatch', 'noemptymatch' options to regular expressions.
Rik <octave@nomad.inbox5.com>
parents:
14534
diff
changeset
|
99 |
17294
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
100 ** Backslash as a continuation marker outside of double-quoted strings |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
101 is now deprecated. |
15541
9db32cabeacf
Fix backslash handling in regexp pattern (Bug #37092)
Rik <rik@octave.org>
parents:
15513
diff
changeset
|
102 |
17294
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
103 Using '\' as a continuation marker outside of double quoted strings |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
104 is now deprecated and will be removed from a future version of |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
105 Octave. When that is done, the behavior of |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
106 |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
107 (a \ |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
108 b) |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
109 |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
110 will be consistent with other binary operators. |
14544
be18c9e359bf
Nested function support (bug #35772)
Max Brister <max@2bass.com>
parents:
14543
diff
changeset
|
111 |
14534
ad2ff36996b8
NEWS: Add note about redundant serial comma feature in parser
Rik <octave@nomad.inbox5.com>
parents:
14516
diff
changeset
|
112 ** 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
|
113 |
ad2ff36996b8
NEWS: Add note about redundant serial comma feature in parser
Rik <octave@nomad.inbox5.com>
parents:
14516
diff
changeset
|
114 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
|
115 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
|
116 |
ad2ff36996b8
NEWS: Add note about redundant serial comma feature in parser
Rik <octave@nomad.inbox5.com>
parents:
14516
diff
changeset
|
117 [a,... |
ad2ff36996b8
NEWS: Add note about redundant serial comma feature in parser
Rik <octave@nomad.inbox5.com>
parents:
14516
diff
changeset
|
118 b,... |
ad2ff36996b8
NEWS: Add note about redundant serial comma feature in parser
Rik <octave@nomad.inbox5.com>
parents:
14516
diff
changeset
|
119 c,... |
ad2ff36996b8
NEWS: Add note about redundant serial comma feature in parser
Rik <octave@nomad.inbox5.com>
parents:
14516
diff
changeset
|
120 ] = deal (1,2,3) |
ad2ff36996b8
NEWS: Add note about redundant serial comma feature in parser
Rik <octave@nomad.inbox5.com>
parents:
14516
diff
changeset
|
121 |
17249
923ce8b42db2
improve try-catch-statement to save exception to a variable (bug #33217)
Stefan Mahr <dac922@gmx.de>
parents:
17247
diff
changeset
|
122 ** Octave now has limited support for named exceptions |
923ce8b42db2
improve try-catch-statement to save exception to a variable (bug #33217)
Stefan Mahr <dac922@gmx.de>
parents:
17247
diff
changeset
|
123 |
923ce8b42db2
improve try-catch-statement to save exception to a variable (bug #33217)
Stefan Mahr <dac922@gmx.de>
parents:
17247
diff
changeset
|
124 The following syntax is now accepted: |
923ce8b42db2
improve try-catch-statement to save exception to a variable (bug #33217)
Stefan Mahr <dac922@gmx.de>
parents:
17247
diff
changeset
|
125 |
923ce8b42db2
improve try-catch-statement to save exception to a variable (bug #33217)
Stefan Mahr <dac922@gmx.de>
parents:
17247
diff
changeset
|
126 try |
923ce8b42db2
improve try-catch-statement to save exception to a variable (bug #33217)
Stefan Mahr <dac922@gmx.de>
parents:
17247
diff
changeset
|
127 statements |
923ce8b42db2
improve try-catch-statement to save exception to a variable (bug #33217)
Stefan Mahr <dac922@gmx.de>
parents:
17247
diff
changeset
|
128 catch exception-id |
923ce8b42db2
improve try-catch-statement to save exception to a variable (bug #33217)
Stefan Mahr <dac922@gmx.de>
parents:
17247
diff
changeset
|
129 statements |
923ce8b42db2
improve try-catch-statement to save exception to a variable (bug #33217)
Stefan Mahr <dac922@gmx.de>
parents:
17247
diff
changeset
|
130 end |
923ce8b42db2
improve try-catch-statement to save exception to a variable (bug #33217)
Stefan Mahr <dac922@gmx.de>
parents:
17247
diff
changeset
|
131 |
923ce8b42db2
improve try-catch-statement to save exception to a variable (bug #33217)
Stefan Mahr <dac922@gmx.de>
parents:
17247
diff
changeset
|
132 The exception-id is a structure with the fields "message" and |
923ce8b42db2
improve try-catch-statement to save exception to a variable (bug #33217)
Stefan Mahr <dac922@gmx.de>
parents:
17247
diff
changeset
|
133 "identifier". For example |
923ce8b42db2
improve try-catch-statement to save exception to a variable (bug #33217)
Stefan Mahr <dac922@gmx.de>
parents:
17247
diff
changeset
|
134 |
923ce8b42db2
improve try-catch-statement to save exception to a variable (bug #33217)
Stefan Mahr <dac922@gmx.de>
parents:
17247
diff
changeset
|
135 try |
923ce8b42db2
improve try-catch-statement to save exception to a variable (bug #33217)
Stefan Mahr <dac922@gmx.de>
parents:
17247
diff
changeset
|
136 error ("Octave:error-id", "error message"); |
923ce8b42db2
improve try-catch-statement to save exception to a variable (bug #33217)
Stefan Mahr <dac922@gmx.de>
parents:
17247
diff
changeset
|
137 catch myerr |
923ce8b42db2
improve try-catch-statement to save exception to a variable (bug #33217)
Stefan Mahr <dac922@gmx.de>
parents:
17247
diff
changeset
|
138 printf ("identifier: %s\n", myerr.identifier); |
923ce8b42db2
improve try-catch-statement to save exception to a variable (bug #33217)
Stefan Mahr <dac922@gmx.de>
parents:
17247
diff
changeset
|
139 printf ("message: %s\n", myerr.message); |
923ce8b42db2
improve try-catch-statement to save exception to a variable (bug #33217)
Stefan Mahr <dac922@gmx.de>
parents:
17247
diff
changeset
|
140 end_try_catch |
923ce8b42db2
improve try-catch-statement to save exception to a variable (bug #33217)
Stefan Mahr <dac922@gmx.de>
parents:
17247
diff
changeset
|
141 |
923ce8b42db2
improve try-catch-statement to save exception to a variable (bug #33217)
Stefan Mahr <dac922@gmx.de>
parents:
17247
diff
changeset
|
142 When classdef-style classes are added to Octave, the exception-id |
923ce8b42db2
improve try-catch-statement to save exception to a variable (bug #33217)
Stefan Mahr <dac922@gmx.de>
parents:
17247
diff
changeset
|
143 will become an MException object. |
923ce8b42db2
improve try-catch-statement to save exception to a variable (bug #33217)
Stefan Mahr <dac922@gmx.de>
parents:
17247
diff
changeset
|
144 |
17752
031eaa90064e
NEWS: Update announcements for 3.8 release.
Rik <rik@octave.org>
parents:
17698
diff
changeset
|
145 ** Warning states may now be set temporarily, until the end of the |
031eaa90064e
NEWS: Update announcements for 3.8 release.
Rik <rik@octave.org>
parents:
17698
diff
changeset
|
146 current function, using the syntax |
031eaa90064e
NEWS: Update announcements for 3.8 release.
Rik <rik@octave.org>
parents:
17698
diff
changeset
|
147 |
031eaa90064e
NEWS: Update announcements for 3.8 release.
Rik <rik@octave.org>
parents:
17698
diff
changeset
|
148 warning STATE ID "local" |
031eaa90064e
NEWS: Update announcements for 3.8 release.
Rik <rik@octave.org>
parents:
17698
diff
changeset
|
149 |
031eaa90064e
NEWS: Update announcements for 3.8 release.
Rik <rik@octave.org>
parents:
17698
diff
changeset
|
150 in which STATE may be "on", "off", or "error". Changes to warning |
031eaa90064e
NEWS: Update announcements for 3.8 release.
Rik <rik@octave.org>
parents:
17698
diff
changeset
|
151 states that are set locally affect the current function and all |
031eaa90064e
NEWS: Update announcements for 3.8 release.
Rik <rik@octave.org>
parents:
17698
diff
changeset
|
152 functions called from the current scope. The previous warning state |
031eaa90064e
NEWS: Update announcements for 3.8 release.
Rik <rik@octave.org>
parents:
17698
diff
changeset
|
153 is restored on return from the current function. The "local" |
031eaa90064e
NEWS: Update announcements for 3.8 release.
Rik <rik@octave.org>
parents:
17698
diff
changeset
|
154 option is ignored if used in the top-level workspace. |
031eaa90064e
NEWS: Update announcements for 3.8 release.
Rik <rik@octave.org>
parents:
17698
diff
changeset
|
155 |
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
|
156 ** 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
|
157 |
29aabe9b37a2
Rename array-as-vector, array-as-scalar warning IDs to match documentation (bug #35838)
Rik <octave@nomad.inbox5.com>
parents:
14446
diff
changeset
|
158 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
|
159 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
|
160 |
17294
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
161 ** 'emptymatch', 'noemptymatch' options added to regular expressions. |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
162 |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
163 With this addition Octave now accepts the entire set of Matlab options |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
164 for regular expressions. 'noemptymatch' is the default, but 'emptymatch' |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
165 has certain uses where you need to match an assertion rather than actual |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
166 characters. For example, |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
167 |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
168 regexprep ('World', '^', 'Hello ', 'emptymatch') |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
169 => Hello World |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
170 |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
171 where the pattern is actually the assertion '^' or start-of-line. |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
172 |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
173 ** For compatibility with Matlab, the regexp, regexpi, and regexprep |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
174 functions now process backslash escape sequences in single-quoted pattern |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
175 strings. In addition, the regexprep function now processes backslash |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
176 escapes in single-quoted replacement strings. For example, |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
177 |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
178 regexprep (str, '\t', '\n') |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
179 |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
180 would search the variable str for a TAB character (escape sequence \t) |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
181 and replace it with a NEWLINE (escape sequence \n). Previously the |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
182 expression would have searched for a literal '\' followed by 't' and |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
183 replaced the two characters with the sequence '\', 'n'. |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
184 |
17365
9b7ca74489c7
NEWS: Add announcement about TeX parser for FLTK toolkit.
Rik <rik@octave.org>
parents:
17332
diff
changeset
|
185 ** A TeX parser has been implemented for the FLTK toolkit and is the default |
9b7ca74489c7
NEWS: Add announcement about TeX parser for FLTK toolkit.
Rik <rik@octave.org>
parents:
17332
diff
changeset
|
186 for any text object including titles and axis labels. The TeX parser is |
9b7ca74489c7
NEWS: Add announcement about TeX parser for FLTK toolkit.
Rik <rik@octave.org>
parents:
17332
diff
changeset
|
187 supported only for display on a monitor, not for printing. |
17571
6e4ea5c8a4bb
NEWS: Re-word a sentance about ostrsplit behavior.
Rik <rik@octave.org>
parents:
17516
diff
changeset
|
188 |
17365
9b7ca74489c7
NEWS: Add announcement about TeX parser for FLTK toolkit.
Rik <rik@octave.org>
parents:
17332
diff
changeset
|
189 A quick summary of features: |
9b7ca74489c7
NEWS: Add announcement about TeX parser for FLTK toolkit.
Rik <rik@octave.org>
parents:
17332
diff
changeset
|
190 |
9b7ca74489c7
NEWS: Add announcement about TeX parser for FLTK toolkit.
Rik <rik@octave.org>
parents:
17332
diff
changeset
|
191 Code Feature Example Comment |
17505
3dcd7fb9945d
NEWS: Update with changes made to plot directory functions.
Rik <rik@octave.org>
parents:
17501
diff
changeset
|
192 ----------------------------------------------------------------- |
17365
9b7ca74489c7
NEWS: Add announcement about TeX parser for FLTK toolkit.
Rik <rik@octave.org>
parents:
17332
diff
changeset
|
193 _ subscript H_2O formula for water |
9b7ca74489c7
NEWS: Add announcement about TeX parser for FLTK toolkit.
Rik <rik@octave.org>
parents:
17332
diff
changeset
|
194 ^ exponent y=x^2 formula for parabola |
9b7ca74489c7
NEWS: Add announcement about TeX parser for FLTK toolkit.
Rik <rik@octave.org>
parents:
17332
diff
changeset
|
195 \char symbol \beta Greek symbol beta |
9b7ca74489c7
NEWS: Add announcement about TeX parser for FLTK toolkit.
Rik <rik@octave.org>
parents:
17332
diff
changeset
|
196 \fontname font \fontname{Arial} set Arial font |
9b7ca74489c7
NEWS: Add announcement about TeX parser for FLTK toolkit.
Rik <rik@octave.org>
parents:
17332
diff
changeset
|
197 \fontsize fontsize \fontsize{16} set fontsize 16 |
9b7ca74489c7
NEWS: Add announcement about TeX parser for FLTK toolkit.
Rik <rik@octave.org>
parents:
17332
diff
changeset
|
198 \color[rgb] fontcolor \color[rgb]{1 0 1} set magenta color |
9b7ca74489c7
NEWS: Add announcement about TeX parser for FLTK toolkit.
Rik <rik@octave.org>
parents:
17332
diff
changeset
|
199 \bf bold \bfBold Text bold font |
9b7ca74489c7
NEWS: Add announcement about TeX parser for FLTK toolkit.
Rik <rik@octave.org>
parents:
17332
diff
changeset
|
200 \it italic \itItalic Text italic font |
9b7ca74489c7
NEWS: Add announcement about TeX parser for FLTK toolkit.
Rik <rik@octave.org>
parents:
17332
diff
changeset
|
201 \sl slanted \slOblique Text slanted font |
9b7ca74489c7
NEWS: Add announcement about TeX parser for FLTK toolkit.
Rik <rik@octave.org>
parents:
17332
diff
changeset
|
202 \rm normal \bfBold\rmNormal normal font |
9b7ca74489c7
NEWS: Add announcement about TeX parser for FLTK toolkit.
Rik <rik@octave.org>
parents:
17332
diff
changeset
|
203 {} group {\bf Bold}Normal group objects |
17752
031eaa90064e
NEWS: Update announcements for 3.8 release.
Rik <rik@octave.org>
parents:
17698
diff
changeset
|
204 e^{i*\pi} = -1 group objects |
17365
9b7ca74489c7
NEWS: Add announcement about TeX parser for FLTK toolkit.
Rik <rik@octave.org>
parents:
17332
diff
changeset
|
205 |
17505
3dcd7fb9945d
NEWS: Update with changes made to plot directory functions.
Rik <rik@octave.org>
parents:
17501
diff
changeset
|
206 ** The m-files in the plot directory have been overhauled. |
3dcd7fb9945d
NEWS: Update with changes made to plot directory functions.
Rik <rik@octave.org>
parents:
17501
diff
changeset
|
207 |
3dcd7fb9945d
NEWS: Update with changes made to plot directory functions.
Rik <rik@octave.org>
parents:
17501
diff
changeset
|
208 The plot functions now produce output that is nearly visually compatible |
3dcd7fb9945d
NEWS: Update with changes made to plot directory functions.
Rik <rik@octave.org>
parents:
17501
diff
changeset
|
209 with Matlab. Plot performance has also increased, dramatically for some |
3dcd7fb9945d
NEWS: Update with changes made to plot directory functions.
Rik <rik@octave.org>
parents:
17501
diff
changeset
|
210 functions such as comet and waitbar. Finally, the documentation for most |
3dcd7fb9945d
NEWS: Update with changes made to plot directory functions.
Rik <rik@octave.org>
parents:
17501
diff
changeset
|
211 functions has been updated so it should be clearer both how to use a |
3dcd7fb9945d
NEWS: Update with changes made to plot directory functions.
Rik <rik@octave.org>
parents:
17501
diff
changeset
|
212 function and when a function is appropriate. |
3dcd7fb9945d
NEWS: Update with changes made to plot directory functions.
Rik <rik@octave.org>
parents:
17501
diff
changeset
|
213 |
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
|
214 ** 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
|
215 |
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
|
216 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
|
217 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
|
218 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
|
219 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
|
220 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
|
221 |
15712
74ff287f41cb
Remove default colormap for ind2rgb and ind2gray.
Carnë Draug <carandraug+dev@gmail.com>
parents:
15704
diff
changeset
|
222 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
|
223 colormap depending on the image class (integer images have a -1 offset to |
17332
eb7e9a991ffb
Implement writing of CMYK and fix writing of image alpha channel (bug #32986).
Carnë Draug <carandraug@octave.org>
parents:
17294
diff
changeset
|
224 the colormap row number). |
eb7e9a991ffb
Implement writing of CMYK and fix writing of image alpha channel (bug #32986).
Carnë Draug <carandraug@octave.org>
parents:
17294
diff
changeset
|
225 |
17505
3dcd7fb9945d
NEWS: Update with changes made to plot directory functions.
Rik <rik@octave.org>
parents:
17501
diff
changeset
|
226 ** The imread and imwrite functions have been completely rewritten. |
17332
eb7e9a991ffb
Implement writing of CMYK and fix writing of image alpha channel (bug #32986).
Carnë Draug <carandraug@octave.org>
parents:
17294
diff
changeset
|
227 |
eb7e9a991ffb
Implement writing of CMYK and fix writing of image alpha channel (bug #32986).
Carnë Draug <carandraug@octave.org>
parents:
17294
diff
changeset
|
228 The main changes relate to the alpha channel, support for reading and |
eb7e9a991ffb
Implement writing of CMYK and fix writing of image alpha channel (bug #32986).
Carnë Draug <carandraug@octave.org>
parents:
17294
diff
changeset
|
229 writing of floating point images, implemented writing of indexed images, |
eb7e9a991ffb
Implement writing of CMYK and fix writing of image alpha channel (bug #32986).
Carnë Draug <carandraug@octave.org>
parents:
17294
diff
changeset
|
230 and appending images to multipage image files. |
eb7e9a991ffb
Implement writing of CMYK and fix writing of image alpha channel (bug #32986).
Carnë Draug <carandraug@octave.org>
parents:
17294
diff
changeset
|
231 |
eb7e9a991ffb
Implement writing of CMYK and fix writing of image alpha channel (bug #32986).
Carnë Draug <carandraug@octave.org>
parents:
17294
diff
changeset
|
232 The issues that may arise due to backwards incompatibility are: |
eb7e9a991ffb
Implement writing of CMYK and fix writing of image alpha channel (bug #32986).
Carnë Draug <carandraug@octave.org>
parents:
17294
diff
changeset
|
233 |
eb7e9a991ffb
Implement writing of CMYK and fix writing of image alpha channel (bug #32986).
Carnë Draug <carandraug@octave.org>
parents:
17294
diff
changeset
|
234 * imwrite no longer interprets a length of 2 or 4 in the third dimension |
eb7e9a991ffb
Implement writing of CMYK and fix writing of image alpha channel (bug #32986).
Carnë Draug <carandraug@octave.org>
parents:
17294
diff
changeset
|
235 as grayscale or RGB with alpha channel (a length of 4 will be saved |
17505
3dcd7fb9945d
NEWS: Update with changes made to plot directory functions.
Rik <rik@octave.org>
parents:
17501
diff
changeset
|
236 as a CMYK image). Alpha channel must be passed as separate argument. |
3dcd7fb9945d
NEWS: Update with changes made to plot directory functions.
Rik <rik@octave.org>
parents:
17501
diff
changeset
|
237 |
17332
eb7e9a991ffb
Implement writing of CMYK and fix writing of image alpha channel (bug #32986).
Carnë Draug <carandraug@octave.org>
parents:
17294
diff
changeset
|
238 * imread will always return the colormap indexes when reading an indexed |
eb7e9a991ffb
Implement writing of CMYK and fix writing of image alpha channel (bug #32986).
Carnë Draug <carandraug@octave.org>
parents:
17294
diff
changeset
|
239 image, even if the colormap is not requested as output. |
17505
3dcd7fb9945d
NEWS: Update with changes made to plot directory functions.
Rik <rik@octave.org>
parents:
17501
diff
changeset
|
240 |
3dcd7fb9945d
NEWS: Update with changes made to plot directory functions.
Rik <rik@octave.org>
parents:
17501
diff
changeset
|
241 * transparency values are now inverted from previous Octave versions |
17332
eb7e9a991ffb
Implement writing of CMYK and fix writing of image alpha channel (bug #32986).
Carnë Draug <carandraug@octave.org>
parents:
17294
diff
changeset
|
242 (0 is for completely transparent instead of completely opaque). |
eb7e9a991ffb
Implement writing of CMYK and fix writing of image alpha channel (bug #32986).
Carnë Draug <carandraug@octave.org>
parents:
17294
diff
changeset
|
243 |
eb7e9a991ffb
Implement writing of CMYK and fix writing of image alpha channel (bug #32986).
Carnë Draug <carandraug@octave.org>
parents:
17294
diff
changeset
|
244 In addition, the function imformats has been implemented to expand |
eb7e9a991ffb
Implement writing of CMYK and fix writing of image alpha channel (bug #32986).
Carnë Draug <carandraug@octave.org>
parents:
17294
diff
changeset
|
245 reading and writing of images of different formats through imread |
eb7e9a991ffb
Implement writing of CMYK and fix writing of image alpha channel (bug #32986).
Carnë Draug <carandraug@octave.org>
parents:
17294
diff
changeset
|
246 and imwrite. |
15712
74ff287f41cb
Remove default colormap for ind2rgb and ind2gray.
Carnë Draug <carandraug+dev@gmail.com>
parents:
15704
diff
changeset
|
247 |
17505
3dcd7fb9945d
NEWS: Update with changes made to plot directory functions.
Rik <rik@octave.org>
parents:
17501
diff
changeset
|
248 ** The colormap function now provides new options--"list", "register", |
3dcd7fb9945d
NEWS: Update with changes made to plot directory functions.
Rik <rik@octave.org>
parents:
17501
diff
changeset
|
249 and "unregister"--to list all available colormap functions, and to |
16884
24574e15ac4b
NEWS: Add new functions debug_jit, jit_enable to list.
Rik <rik@octave.org>
parents:
16880
diff
changeset
|
250 add or remove a function name from the list of known colormap |
24574e15ac4b
NEWS: Add new functions debug_jit, jit_enable to list.
Rik <rik@octave.org>
parents:
16880
diff
changeset
|
251 functions. Packages that implement extra colormaps should use these |
24574e15ac4b
NEWS: Add new functions debug_jit, jit_enable to list.
Rik <rik@octave.org>
parents:
16880
diff
changeset
|
252 commands with PKG_ADD and PKG_DEL statements. |
24574e15ac4b
NEWS: Add new functions debug_jit, jit_enable to list.
Rik <rik@octave.org>
parents:
16880
diff
changeset
|
253 |
24574e15ac4b
NEWS: Add new functions debug_jit, jit_enable to list.
Rik <rik@octave.org>
parents:
16880
diff
changeset
|
254 ** strsplit has been modified to be compatible with Matlab. There |
24574e15ac4b
NEWS: Add new functions debug_jit, jit_enable to list.
Rik <rik@octave.org>
parents:
16880
diff
changeset
|
255 are two instances where backward compatibility is broken. |
24574e15ac4b
NEWS: Add new functions debug_jit, jit_enable to list.
Rik <rik@octave.org>
parents:
16880
diff
changeset
|
256 |
24574e15ac4b
NEWS: Add new functions debug_jit, jit_enable to list.
Rik <rik@octave.org>
parents:
16880
diff
changeset
|
257 (1) Delimiters are now string vectors, not scalars. |
24574e15ac4b
NEWS: Add new functions debug_jit, jit_enable to list.
Rik <rik@octave.org>
parents:
16880
diff
changeset
|
258 |
24574e15ac4b
NEWS: Add new functions debug_jit, jit_enable to list.
Rik <rik@octave.org>
parents:
16880
diff
changeset
|
259 Octave's legacy behavior |
24574e15ac4b
NEWS: Add new functions debug_jit, jit_enable to list.
Rik <rik@octave.org>
parents:
16880
diff
changeset
|
260 |
24574e15ac4b
NEWS: Add new functions debug_jit, jit_enable to list.
Rik <rik@octave.org>
parents:
16880
diff
changeset
|
261 strsplit ("1 2, 3", ", ") |
24574e15ac4b
NEWS: Add new functions debug_jit, jit_enable to list.
Rik <rik@octave.org>
parents:
16880
diff
changeset
|
262 ans = |
24574e15ac4b
NEWS: Add new functions debug_jit, jit_enable to list.
Rik <rik@octave.org>
parents:
16880
diff
changeset
|
263 { |
24574e15ac4b
NEWS: Add new functions debug_jit, jit_enable to list.
Rik <rik@octave.org>
parents:
16880
diff
changeset
|
264 [1,1] = 1 |
24574e15ac4b
NEWS: Add new functions debug_jit, jit_enable to list.
Rik <rik@octave.org>
parents:
16880
diff
changeset
|
265 [1,2] = 2 |
24574e15ac4b
NEWS: Add new functions debug_jit, jit_enable to list.
Rik <rik@octave.org>
parents:
16880
diff
changeset
|
266 [1,3] = |
24574e15ac4b
NEWS: Add new functions debug_jit, jit_enable to list.
Rik <rik@octave.org>
parents:
16880
diff
changeset
|
267 [1,4] = 3 |
24574e15ac4b
NEWS: Add new functions debug_jit, jit_enable to list.
Rik <rik@octave.org>
parents:
16880
diff
changeset
|
268 } |
24574e15ac4b
NEWS: Add new functions debug_jit, jit_enable to list.
Rik <rik@octave.org>
parents:
16880
diff
changeset
|
269 |
24574e15ac4b
NEWS: Add new functions debug_jit, jit_enable to list.
Rik <rik@octave.org>
parents:
16880
diff
changeset
|
270 Matlab compatible behavior |
24574e15ac4b
NEWS: Add new functions debug_jit, jit_enable to list.
Rik <rik@octave.org>
parents:
16880
diff
changeset
|
271 |
24574e15ac4b
NEWS: Add new functions debug_jit, jit_enable to list.
Rik <rik@octave.org>
parents:
16880
diff
changeset
|
272 strsplit ("1 2, 3", ", ") |
24574e15ac4b
NEWS: Add new functions debug_jit, jit_enable to list.
Rik <rik@octave.org>
parents:
16880
diff
changeset
|
273 ans = |
24574e15ac4b
NEWS: Add new functions debug_jit, jit_enable to list.
Rik <rik@octave.org>
parents:
16880
diff
changeset
|
274 { |
24574e15ac4b
NEWS: Add new functions debug_jit, jit_enable to list.
Rik <rik@octave.org>
parents:
16880
diff
changeset
|
275 [1,1] = 1 2 |
24574e15ac4b
NEWS: Add new functions debug_jit, jit_enable to list.
Rik <rik@octave.org>
parents:
16880
diff
changeset
|
276 [1,2] = 3 |
24574e15ac4b
NEWS: Add new functions debug_jit, jit_enable to list.
Rik <rik@octave.org>
parents:
16880
diff
changeset
|
277 } |
24574e15ac4b
NEWS: Add new functions debug_jit, jit_enable to list.
Rik <rik@octave.org>
parents:
16880
diff
changeset
|
278 |
17571
6e4ea5c8a4bb
NEWS: Re-word a sentance about ostrsplit behavior.
Rik <rik@octave.org>
parents:
17516
diff
changeset
|
279 (2) By default, Matlab treats consecutive delimiters as a single |
16884
24574e15ac4b
NEWS: Add new functions debug_jit, jit_enable to list.
Rik <rik@octave.org>
parents:
16880
diff
changeset
|
280 delimiter. By default, Octave's legacy behavior was to return an |
24574e15ac4b
NEWS: Add new functions debug_jit, jit_enable to list.
Rik <rik@octave.org>
parents:
16880
diff
changeset
|
281 empty string for the part between the delmiters. |
24574e15ac4b
NEWS: Add new functions debug_jit, jit_enable to list.
Rik <rik@octave.org>
parents:
16880
diff
changeset
|
282 |
17571
6e4ea5c8a4bb
NEWS: Re-word a sentance about ostrsplit behavior.
Rik <rik@octave.org>
parents:
17516
diff
changeset
|
283 Where legacy behavior is desired, the call to strsplit() may be |
16884
24574e15ac4b
NEWS: Add new functions debug_jit, jit_enable to list.
Rik <rik@octave.org>
parents:
16880
diff
changeset
|
284 replaced by ostrsplit(), which is Octave's original implementation of |
24574e15ac4b
NEWS: Add new functions debug_jit, jit_enable to list.
Rik <rik@octave.org>
parents:
16880
diff
changeset
|
285 strsplit(). |
24574e15ac4b
NEWS: Add new functions debug_jit, jit_enable to list.
Rik <rik@octave.org>
parents:
16880
diff
changeset
|
286 |
14743
b7675598094a
datevec.m: Support more date string input formats for Matlab compatibility (bug #36563)
Rik <octave@nomad.inbox5.com>
parents:
14654
diff
changeset
|
287 ** 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
|
288 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
|
289 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
|
290 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
|
291 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
|
292 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
|
293 |
15698
ea2788117ee3
NEWS: Add notice about extending error functions to accept complex inputs.
Rik <rik@octave.org>
parents:
15683
diff
changeset
|
294 ** 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
|
295 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
|
296 |
15704
c2b381deca6b
NEWS: erfinv and erfcinv do not accept complex inputs.
Rik <rik@octave.org>
parents:
15699
diff
changeset
|
297 erf erfc erfcx |
15698
ea2788117ee3
NEWS: Add notice about extending error functions to accept complex inputs.
Rik <rik@octave.org>
parents:
15683
diff
changeset
|
298 |
ea2788117ee3
NEWS: Add notice about extending error functions to accept complex inputs.
Rik <rik@octave.org>
parents:
15683
diff
changeset
|
299 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
|
300 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
|
301 |
17294
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
302 ** The glpk function has been modified to reflect changes in the GLPK |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
303 library. The "round" and "itcnt" options have been removed. The |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
304 "relax" option has been replaced by the "rtest" option. The numeric |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
305 values of error codes and of some options have also changed. |
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
306 |
17698
9bb5d3f63cdd
NEWS: Announce change in definition of kurtosis function for Matlab compatibility.
Rik <rik@octave.org>
parents:
17694
diff
changeset
|
307 ** The kurtosis function has changed definition to be compatible with |
9bb5d3f63cdd
NEWS: Announce change in definition of kurtosis function for Matlab compatibility.
Rik <rik@octave.org>
parents:
17694
diff
changeset
|
308 Matlab. It now returns the base kurtosis instead of the "excess kurtosis". |
9bb5d3f63cdd
NEWS: Announce change in definition of kurtosis function for Matlab compatibility.
Rik <rik@octave.org>
parents:
17694
diff
changeset
|
309 The old behavior can be had by changing scripts to normalize with -3. |
17862
46850674da46
NEWS: Add sentence about octave_core_file_name function.
Rik <rik@octave.org>
parents:
17797
diff
changeset
|
310 |
17698
9bb5d3f63cdd
NEWS: Announce change in definition of kurtosis function for Matlab compatibility.
Rik <rik@octave.org>
parents:
17694
diff
changeset
|
311 "excess kurtosis" = kurtosis (x) - 3 |
9bb5d3f63cdd
NEWS: Announce change in definition of kurtosis function for Matlab compatibility.
Rik <rik@octave.org>
parents:
17694
diff
changeset
|
312 |
17873
58b39152b0f6
moment.m: Compute central, rather than raw, moment for ML compatibility (bug #36718).
Rik <rik@octave.org>
parents:
17862
diff
changeset
|
313 ** The moment function has changed definition to be compatible with |
58b39152b0f6
moment.m: Compute central, rather than raw, moment for ML compatibility (bug #36718).
Rik <rik@octave.org>
parents:
17862
diff
changeset
|
314 Matlab. It now returns the central moment instead of the raw moment. |
58b39152b0f6
moment.m: Compute central, rather than raw, moment for ML compatibility (bug #36718).
Rik <rik@octave.org>
parents:
17862
diff
changeset
|
315 The old behavior can be had by passing the type argument "r" for raw. |
58b39152b0f6
moment.m: Compute central, rather than raw, moment for ML compatibility (bug #36718).
Rik <rik@octave.org>
parents:
17862
diff
changeset
|
316 |
17505
3dcd7fb9945d
NEWS: Update with changes made to plot directory functions.
Rik <rik@octave.org>
parents:
17501
diff
changeset
|
317 ** The default name of the Octave crash dump file is now |
17862
46850674da46
NEWS: Add sentence about octave_core_file_name function.
Rik <rik@octave.org>
parents:
17797
diff
changeset
|
318 "octave-workspace" instead of "octave-core". The exact name can |
46850674da46
NEWS: Add sentence about octave_core_file_name function.
Rik <rik@octave.org>
parents:
17797
diff
changeset
|
319 always be customized with the octave_core_file_name function. |
15625
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15541
diff
changeset
|
320 |
16345
45916132522a
NEWS: Update list of Java functions added for release 3.8.
Rik <rik@octave.org>
parents:
16178
diff
changeset
|
321 ** A citation command has been added to display information on how to |
45916132522a
NEWS: Update list of Java functions added for release 3.8.
Rik <rik@octave.org>
parents:
16178
diff
changeset
|
322 cite Octave and packages in publications. The package system will |
45916132522a
NEWS: Update list of Java functions added for release 3.8.
Rik <rik@octave.org>
parents:
16178
diff
changeset
|
323 look for and install CITATION files from packages. |
45916132522a
NEWS: Update list of Java functions added for release 3.8.
Rik <rik@octave.org>
parents:
16178
diff
changeset
|
324 |
15698
ea2788117ee3
NEWS: Add notice about extending error functions to accept complex inputs.
Rik <rik@octave.org>
parents:
15683
diff
changeset
|
325 ** 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
|
326 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
|
327 directly from Octave: |
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15541
diff
changeset
|
328 |
16345
45916132522a
NEWS: Update list of Java functions added for release 3.8.
Rik <rik@octave.org>
parents:
16178
diff
changeset
|
329 debug_java java_matrix_autoconversion |
45916132522a
NEWS: Update list of Java functions added for release 3.8.
Rik <rik@octave.org>
parents:
16178
diff
changeset
|
330 isjava java_unsigned_autoconversion |
45916132522a
NEWS: Update list of Java functions added for release 3.8.
Rik <rik@octave.org>
parents:
16178
diff
changeset
|
331 java2mat javaaddpath |
45916132522a
NEWS: Update list of Java functions added for release 3.8.
Rik <rik@octave.org>
parents:
16178
diff
changeset
|
332 javaArray javaclasspath |
45916132522a
NEWS: Update list of Java functions added for release 3.8.
Rik <rik@octave.org>
parents:
16178
diff
changeset
|
333 javaMethod javamem |
45916132522a
NEWS: Update list of Java functions added for release 3.8.
Rik <rik@octave.org>
parents:
16178
diff
changeset
|
334 javaObject javarmpath |
45916132522a
NEWS: Update list of Java functions added for release 3.8.
Rik <rik@octave.org>
parents:
16178
diff
changeset
|
335 usejava |
15625
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15541
diff
changeset
|
336 |
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15541
diff
changeset
|
337 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
|
338 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
|
339 Java enabled): |
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15541
diff
changeset
|
340 |
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15541
diff
changeset
|
341 helpdlg listdlg questdlg |
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15541
diff
changeset
|
342 inputdlg msgbox warndlg |
acf0addfc610
include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents:
15541
diff
changeset
|
343 |
14271
e2a14d1b4eaa
rgbplot.m: Add new Matlab compatible function for plotting colormaps
Rik <octave@nomad.inbox5.com>
parents:
14188
diff
changeset
|
344 ** Other new functions added in 3.8.0: |
17499
c3a3532e3d98
linsolve.m: Add new function for Matlab compatibility.
Nir Krakauer < nkrakauer@ccny.cuny.edu>
parents:
17365
diff
changeset
|
345 |
17516
21656a949661
Add hook function to handle missing Octave components
Mike Miller <mtmiller@ieee.org>
parents:
17505
diff
changeset
|
346 atan2d erfi lines |
21656a949661
Add hook function to handle missing Octave components
Mike Miller <mtmiller@ieee.org>
parents:
17505
diff
changeset
|
347 base64_decode expint linsolve |
21656a949661
Add hook function to handle missing Octave components
Mike Miller <mtmiller@ieee.org>
parents:
17505
diff
changeset
|
348 base64_encode findfigs missing_component_hook |
17499
c3a3532e3d98
linsolve.m: Add new function for Matlab compatibility.
Nir Krakauer < nkrakauer@ccny.cuny.edu>
parents:
17365
diff
changeset
|
349 betaincinv flintmax polyeig |
c3a3532e3d98
linsolve.m: Add new function for Matlab compatibility.
Nir Krakauer < nkrakauer@ccny.cuny.edu>
parents:
17365
diff
changeset
|
350 built_in_docstrings_file fminsearch prefdir |
c3a3532e3d98
linsolve.m: Add new function for Matlab compatibility.
Nir Krakauer < nkrakauer@ccny.cuny.edu>
parents:
17365
diff
changeset
|
351 cmpermute gallery preferences |
c3a3532e3d98
linsolve.m: Add new function for Matlab compatibility.
Nir Krakauer < nkrakauer@ccny.cuny.edu>
parents:
17365
diff
changeset
|
352 cmunique gco readline_re_read_init_file |
c3a3532e3d98
linsolve.m: Add new function for Matlab compatibility.
Nir Krakauer < nkrakauer@ccny.cuny.edu>
parents:
17365
diff
changeset
|
353 colorcube hdl2struct readline_read_init_file |
c3a3532e3d98
linsolve.m: Add new function for Matlab compatibility.
Nir Krakauer < nkrakauer@ccny.cuny.edu>
parents:
17365
diff
changeset
|
354 copyobj history_save rgbplot |
c3a3532e3d98
linsolve.m: Add new function for Matlab compatibility.
Nir Krakauer < nkrakauer@ccny.cuny.edu>
parents:
17365
diff
changeset
|
355 dawson imformats save_default_options |
c3a3532e3d98
linsolve.m: Add new function for Matlab compatibility.
Nir Krakauer < nkrakauer@ccny.cuny.edu>
parents:
17365
diff
changeset
|
356 dblist importdata shrinkfaces |
17752
031eaa90064e
NEWS: Update announcements for 3.8 release.
Rik <rik@octave.org>
parents:
17698
diff
changeset
|
357 desktop isaxes splinefit |
031eaa90064e
NEWS: Update announcements for 3.8 release.
Rik <rik@octave.org>
parents:
17698
diff
changeset
|
358 doc_cache_create iscolormap stemleaf |
031eaa90064e
NEWS: Update announcements for 3.8 release.
Rik <rik@octave.org>
parents:
17698
diff
changeset
|
359 ellipj isequaln strjoin |
031eaa90064e
NEWS: Update announcements for 3.8 release.
Rik <rik@octave.org>
parents:
17698
diff
changeset
|
360 ellipke jit_debug struct2hdl |
031eaa90064e
NEWS: Update announcements for 3.8 release.
Rik <rik@octave.org>
parents:
17698
diff
changeset
|
361 erfcinv jit_enable tetramesh |
031eaa90064e
NEWS: Update announcements for 3.8 release.
Rik <rik@octave.org>
parents:
17698
diff
changeset
|
362 jit_startcnt waterfall |
16872
5372068bb148
Rename gen_doc_cache() to doc_cache_create().
Rik <rik@octave.org>
parents:
16845
diff
changeset
|
363 |
14271
e2a14d1b4eaa
rgbplot.m: Add new Matlab compatible function for plotting colormaps
Rik <octave@nomad.inbox5.com>
parents:
14188
diff
changeset
|
364 ** Deprecated functions. |
e2a14d1b4eaa
rgbplot.m: Add new Matlab compatible function for plotting colormaps
Rik <octave@nomad.inbox5.com>
parents:
14188
diff
changeset
|
365 |
e2a14d1b4eaa
rgbplot.m: Add new Matlab compatible function for plotting colormaps
Rik <octave@nomad.inbox5.com>
parents:
14188
diff
changeset
|
366 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
|
367 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
|
368 |
16827
ac5313d94f20
Remove deprecated function setstr.m from 3.8 release.
Rik <rik@octave.org>
parents:
16730
diff
changeset
|
369 autocor dispatch is_global setstr |
ac5313d94f20
Remove deprecated function setstr.m from 3.8 release.
Rik <rik@octave.org>
parents:
16730
diff
changeset
|
370 autocov fstat krylovb strerror |
ac5313d94f20
Remove deprecated function setstr.m from 3.8 release.
Rik <rik@octave.org>
parents:
16730
diff
changeset
|
371 betai gammai perror values |
14354
55bb8c902a4d
maint: Remove deprecated functions from dev branch for next (3.8) release.
Rik <octave@nomad.inbox5.com>
parents:
14294
diff
changeset
|
372 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
|
373 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
|
374 |
e2a14d1b4eaa
rgbplot.m: Add new Matlab compatible function for plotting colormaps
Rik <octave@nomad.inbox5.com>
parents:
14188
diff
changeset
|
375 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
|
376 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
|
377 release after 3.8): |
e2a14d1b4eaa
rgbplot.m: Add new Matlab compatible function for plotting colormaps
Rik <octave@nomad.inbox5.com>
parents:
14188
diff
changeset
|
378 |
17694 | 379 default_save_options java_new |
380 gen_doc_cache java_set | |
381 interp1q java_unsigned_conversion | |
16936
8f0a82add3da
NEWS: Announce deprecation of isequalwithequalnans.
Rik <rik@octave.org>
parents:
16901
diff
changeset
|
382 isequalwithequalnans javafields |
8f0a82add3da
NEWS: Announce deprecation of isequalwithequalnans.
Rik <rik@octave.org>
parents:
16901
diff
changeset
|
383 java_convert_matrix javamethods |
8f0a82add3da
NEWS: Announce deprecation of isequalwithequalnans.
Rik <rik@octave.org>
parents:
16901
diff
changeset
|
384 java_debug re_read_readline_init_file |
8f0a82add3da
NEWS: Announce deprecation of isequalwithequalnans.
Rik <rik@octave.org>
parents:
16901
diff
changeset
|
385 java_get read_readline_init_file |
8f0a82add3da
NEWS: Announce deprecation of isequalwithequalnans.
Rik <rik@octave.org>
parents:
16901
diff
changeset
|
386 java_invoke saving_history |
17694 | 387 |
16936
8f0a82add3da
NEWS: Announce deprecation of isequalwithequalnans.
Rik <rik@octave.org>
parents:
16901
diff
changeset
|
388 |
14294
9e3983c8963c
deprecate the static keyword
John W. Eaton <jwe@octave.org>
parents:
14274
diff
changeset
|
389 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
|
390 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
|
391 release after 3.8): |
9e3983c8963c
deprecate the static keyword
John W. Eaton <jwe@octave.org>
parents:
14274
diff
changeset
|
392 |
9e3983c8963c
deprecate the static keyword
John W. Eaton <jwe@octave.org>
parents:
14274
diff
changeset
|
393 static |
14271
e2a14d1b4eaa
rgbplot.m: Add new Matlab compatible function for plotting colormaps
Rik <octave@nomad.inbox5.com>
parents:
14188
diff
changeset
|
394 |
15167
1c711a646fa7
Deprecate configure variables CC_VERSION, CXX_VERSION.
Rik <rik@octave.org>
parents:
15043
diff
changeset
|
395 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
|
396 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
|
397 second major release after 3.8): |
1c711a646fa7
Deprecate configure variables CC_VERSION, CXX_VERSION.
Rik <rik@octave.org>
parents:
15043
diff
changeset
|
398 |
1c711a646fa7
Deprecate configure variables CC_VERSION, CXX_VERSION.
Rik <rik@octave.org>
parents:
15043
diff
changeset
|
399 CC_VERSION (now GCC_VERSION) |
1c711a646fa7
Deprecate configure variables CC_VERSION, CXX_VERSION.
Rik <rik@octave.org>
parents:
15043
diff
changeset
|
400 CXX_VERSION (now GXX_VERSION) |
1c711a646fa7
Deprecate configure variables CC_VERSION, CXX_VERSION.
Rik <rik@octave.org>
parents:
15043
diff
changeset
|
401 |
16972
45afabc5f7c8
NEWS: Add note about deprecation of class Octave_map.
Rik <rik@octave.org>
parents:
16941
diff
changeset
|
402 The internal class <Octave_map> has been deprecated in Octave 3.8 and will |
45afabc5f7c8
NEWS: Add note about deprecation of class Octave_map.
Rik <rik@octave.org>
parents:
16941
diff
changeset
|
403 be removed from Octave 3.12 (or whatever version is the second major |
45afabc5f7c8
NEWS: Add note about deprecation of class Octave_map.
Rik <rik@octave.org>
parents:
16941
diff
changeset
|
404 release after 3.8). Replacement classes are <octave_map> (struct array) |
17294
5ff843d739fc
Add new desktop.m function to Octave (bug #37330).
Rik <rik@octave.org>
parents:
17249
diff
changeset
|
405 or <octave_scalar_map> for a single structure. |
16972
45afabc5f7c8
NEWS: Add note about deprecation of class Octave_map.
Rik <rik@octave.org>
parents:
16941
diff
changeset
|
406 |
12413
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
407 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
|
408 --------------------------------------------------------- |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
409 |
14188 | 410 ** The PCRE library is now required to build Octave. If a pre-compiled |
411 package does not exist for your system, you can find PCRE sources | |
412 at http://www.pcre.org | |
12488
bea828c03969
Add new isrow, iscolumn functions.
Rik <octave@nomad.inbox5.com>
parents:
12464
diff
changeset
|
413 |
14176
fbfaafe0471b
NEWS: Add note about ARPACK being removed from source.
Rik <octave@nomad.inbox5.com>
parents:
14116
diff
changeset
|
414 ** The ARPACK library is no longer distributed with Octave. |
14188 | 415 If you need the eigs or svds functions you must provide an |
416 external ARPACK through a package manager or by compiling it | |
417 yourself. If a pre-compiled package does not exist for your system, | |
418 you can find the current ARPACK sources at | |
419 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
|
420 |
14082 | 421 ** 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
|
422 automatic broadcasting for array operations which allows you to use |
14082 | 423 operator notation instead of calling bsxfun or expanding arrays (and |
424 unnecessarily wasting memory) with repmat or similar idioms. For | |
425 example, to scale the columns of a matrix by the elements of a row | |
426 vector, you may now write | |
13923
7b83576b3b48
Update NEWS with auto BSX info
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
13919
diff
changeset
|
427 |
14082 | 428 rv .* M |
429 | |
430 In this expression, the number of elements of rv must match the | |
431 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
|
432 |
14082 | 433 plus + .+ |
434 minus - .- | |
435 times .* | |
436 rdivide ./ | |
437 ldivide .\ | |
438 power .^ .** | |
439 lt < | |
440 le <= | |
441 eq == | |
442 gt > | |
443 ge >= | |
444 ne != ~= | |
445 and & | |
446 or | | |
447 atan2 | |
448 hypot | |
449 max | |
450 min | |
451 mod | |
452 rem | |
453 xor | |
13923
7b83576b3b48
Update NEWS with auto BSX info
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
13919
diff
changeset
|
454 |
14408
9f7c22795c94
doc: Correct a few typos in NEWS.
Rik <octave@nomad.inbox5.com>
parents:
14407
diff
changeset
|
455 additionally, since the A op= B assignment operators are equivalent |
14082 | 456 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
|
457 |
14082 | 458 += -= .+= .-= .*= ./= .\= .^= .**= &= |= |
459 | |
14116
951eacaf9381
Initial documentation for broadcasting and general vectorization guidelines
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
14093
diff
changeset
|
460 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
|
461 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
|
462 |
12988
7aa9cb7aaa32
Announce in NEWS that we now have a profiler
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
12981
diff
changeset
|
463 ** 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
|
464 under the Google Summer of Code mentorship program. The manual has |
13262 | 465 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
|
466 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
|
467 |
13171
19b9f17d22af
Overhaul of statistical distribution functions
Rik <octave@nomad.inbox5.com>
parents:
12988
diff
changeset
|
468 ** Overhaul of statistical distribution functions |
19b9f17d22af
Overhaul of statistical distribution functions
Rik <octave@nomad.inbox5.com>
parents:
12988
diff
changeset
|
469 |
19b9f17d22af
Overhaul of statistical distribution functions
Rik <octave@nomad.inbox5.com>
parents:
12988
diff
changeset
|
470 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
|
471 |
19b9f17d22af
Overhaul of statistical distribution functions
Rik <octave@nomad.inbox5.com>
parents:
12988
diff
changeset
|
472 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
|
473 |
14188 | 474 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
|
475 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
|
476 |
19b9f17d22af
Overhaul of statistical distribution functions
Rik <octave@nomad.inbox5.com>
parents:
12988
diff
changeset
|
477 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
|
478 cases (probability on boundaries, probabilities for values outside |
19b9f17d22af
Overhaul of statistical distribution functions
Rik <octave@nomad.inbox5.com>
parents:
12988
diff
changeset
|
479 distribution, etc.). This may cause subtle changes to existing |
19b9f17d22af
Overhaul of statistical distribution functions
Rik <octave@nomad.inbox5.com>
parents:
12988
diff
changeset
|
480 scripts. |
19b9f17d22af
Overhaul of statistical distribution functions
Rik <octave@nomad.inbox5.com>
parents:
12988
diff
changeset
|
481 |
14188 | 482 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
|
483 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
|
484 NaN. The nbincdf function has been recoded to use a closed form |
14188 | 485 solution with betainc. |
13171
19b9f17d22af
Overhaul of statistical distribution functions
Rik <octave@nomad.inbox5.com>
parents:
12988
diff
changeset
|
486 |
12866
fe6e2afcd9ee
Revamp strread, textscan, textread functions for Matlab compatability
Philip Nienhuis <prnienhuis@users.sf.net>
parents:
12856
diff
changeset
|
487 ** 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
|
488 |
fe6e2afcd9ee
Revamp strread, textscan, textread functions for Matlab compatability
Philip Nienhuis <prnienhuis@users.sf.net>
parents:
12856
diff
changeset
|
489 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
|
490 |
14082 | 491 * Matlab-compatible whitespace and delimiter defaults |
492 | |
493 * Matlab-compatible options: 'whitespace', treatasempty', format | |
494 string repeat count, user-specified comment style, uneven-length | |
495 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
|
496 |
14082 | 497 ** All .m string functions have been modified for better performance or |
498 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
|
499 been demonstrated. Operations on cell array of strings no longer pay |
14082 | 500 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
|
501 |
14082 | 502 deblank: Now requires character or cellstr input. |
503 | |
504 strtrim: Now requires character or cellstr input. | |
505 No longer trims nulls ("\0") from string for Matlab | |
506 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
|
507 |
14082 | 508 strmatch: Follows documentation precisely and ignores trailing spaces |
509 in pattern and in string. Note that this is documented | |
510 Matlab behavior but the implementation apparently does | |
511 not always follow it. | |
512 | |
513 substr: Now possible to specify a negative LEN option which | |
514 extracts to within LEN of the end of the string. | |
515 | |
516 strtok: Now accepts cellstr input. | |
517 | |
518 base2dec, bin2dec, hex2dec: | |
519 Now accept cellstr inputs. | |
520 | |
521 dec2base, dec2bin, dec2hex: | |
522 Now accept cellstr inputs. | |
523 | |
524 index, rindex: | |
525 Now accept 2-D character array input. | |
526 | |
527 strsplit: Now accepts 2-D character array input. | |
13262 | 528 |
13746
7ff0bdc3dc4c
Revamp geometry functions dependent on Qhull (Bug #34604, Bug #33346)
Rik <octave@nomad.inbox5.com>
parents:
13268
diff
changeset
|
529 ** Geometry functions derived from Qhull (convhull, delaunay, voronoi) |
14082 | 530 have been revamped. The options passed to the underlying qhull |
531 command have been changed for better results or for Matlab | |
532 compatibility. | |
533 | |
534 convhull: Default options are "Qt" for 2D, 3D, 4D inputs | |
535 Default options are "Qt Qx" for 5D and higher | |
536 | |
537 delaunay: Default options are "Qt Qbb Qc Qz" for 2D and 3D inputs | |
538 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
|
539 |
14082 | 540 voronoi: No default arguments |
541 | |
542 ** Date/Time functions updated. Millisecond support with FFF format | |
543 string now supported. | |
13746
7ff0bdc3dc4c
Revamp geometry functions dependent on Qhull (Bug #34604, Bug #33346)
Rik <octave@nomad.inbox5.com>
parents:
13268
diff
changeset
|
544 |
14082 | 545 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
|
546 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
|
547 |
14082 | 548 ** 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
|
549 |
14082 | 550 Octave:associativity-change |
551 Octave:complex-cmp-ops | |
552 Octave:empty-list-elements | |
553 Octave:fortran-indexing | |
554 Octave:precedence-change | |
555 | |
556 ** The warning ID Octave:string-concat has been renamed to | |
557 Octave:mixed-string-concat. | |
13841
0a158dbdb04a
Remove 3 unused warning ids
Rik <octave@nomad.inbox5.com>
parents:
13826
diff
changeset
|
558 |
14082 | 559 ** Octave now includes the following Matlab-compatible preference |
560 functions: | |
13262 | 561 |
14082 | 562 addpref getpref ispref rmpref setpref |
13262 | 563 |
14082 | 564 ** The following Matlab-compatible handle graphics functions have been |
565 added: | |
13926
1f6d17b383f8
Add notes about new handle graphics functions.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13923
diff
changeset
|
566 |
14082 | 567 guidata uipanel uitoolbar |
568 guihandles uipushtool uiwait | |
569 uicontextmenu uiresume waitfor | |
570 uicontrol uitoggletool | |
13926
1f6d17b383f8
Add notes about new handle graphics functions.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13923
diff
changeset
|
571 |
13933
c3c8f513cf1f
NEWS: Clarify that uiXXX functions are experimental/preliminary.
Rik <octave@nomad.inbox5.com>
parents:
13926
diff
changeset
|
572 The uiXXX functions above are experimental. |
c3c8f513cf1f
NEWS: Clarify that uiXXX functions are experimental/preliminary.
Rik <octave@nomad.inbox5.com>
parents:
13926
diff
changeset
|
573 |
14082 | 574 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
|
575 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
|
576 |
14082 | 577 The gnuplot graphics toolkit does not support any of the uiXXX |
578 functions nor the waitfor function. | |
13926
1f6d17b383f8
Add notes about new handle graphics functions.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13923
diff
changeset
|
579 |
14082 | 580 ** New keyword parfor (parallel for loop) is now recognized as a valid |
581 keyword. Implementation, however, is still mapped to an ordinary | |
582 for loop. | |
13919
8cb79741769d
doc: Update NEWS file with more 3.6.0 features
Rik <octave@nomad.inbox5.com>
parents:
13848
diff
changeset
|
583 |
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
|
584 ** Other new functions added in 3.6.0: |
12586
f9b7aa3b88f8
Deprecate studentize(), replace with zscore().
Rik <octave@nomad.inbox5.com>
parents:
12574
diff
changeset
|
585 |
14178
3f2a3076b9a6
NEWS: Update list of functions added for 3.6.0 release.
Rik <octave@nomad.inbox5.com>
parents:
14176
diff
changeset
|
586 bicg nthargout usejava |
3f2a3076b9a6
NEWS: Update list of functions added for 3.6.0 release.
Rik <octave@nomad.inbox5.com>
parents:
14176
diff
changeset
|
587 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
|
588 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
|
589 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
|
590 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
|
591 |
12413
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
592 ** Deprecated functions. |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
593 |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
594 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
|
595 removed from Octave 3.6. |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
596 |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
597 create_set spcholinv splu |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
598 dmult spcumprod spmax |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
599 iscommand spcumsum spmin |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
600 israwcommand spdet spprod |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
601 lchol spdiag spqr |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
602 loadimage spfind spsum |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
603 mark_as_command sphcat spsumsq |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
604 mark_as_rawcommand spinv spvcat |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
605 spatan2 spkron str2mat |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
606 spchol splchol unmark_command |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
607 spchol2inv split unmark_rawcommand |
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
608 |
12498
294c0927c762
Deprecate is_duplicate_entry.
Rik <octave@nomad.inbox5.com>
parents:
12488
diff
changeset
|
609 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
|
610 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
|
611 release after 3.6): |
294c0927c762
Deprecate is_duplicate_entry.
Rik <octave@nomad.inbox5.com>
parents:
12488
diff
changeset
|
612 |
12856
cad4cba03f19
Deprecate corrcoef, cor and replace with Matlab equivalent corr
Rik <octave@nomad.inbox5.com>
parents:
12803
diff
changeset
|
613 cut is_duplicate_entry |
cad4cba03f19
Deprecate corrcoef, cor and replace with Matlab equivalent corr
Rik <octave@nomad.inbox5.com>
parents:
12803
diff
changeset
|
614 cor polyderiv |
14018
5d5685216876
Deprecate shell_cmd function and update system, dos, unix commands
Rik <octave@nomad.inbox5.com>
parents:
13933
diff
changeset
|
615 corrcoef shell_cmd |
5d5685216876
Deprecate shell_cmd function and update system, dos, unix commands
Rik <octave@nomad.inbox5.com>
parents:
13933
diff
changeset
|
616 __error_text__ studentize |
5d5685216876
Deprecate shell_cmd function and update system, dos, unix commands
Rik <octave@nomad.inbox5.com>
parents:
13933
diff
changeset
|
617 error_text sylvester_matrix |
12586
f9b7aa3b88f8
Deprecate studentize(), replace with zscore().
Rik <octave@nomad.inbox5.com>
parents:
12574
diff
changeset
|
618 |
14441
d27e638b1c3a
NEWS: mention randperm changes
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
14408
diff
changeset
|
619 ** 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
|
620 |
d27e638b1c3a
NEWS: mention randperm changes
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
14408
diff
changeset
|
621 randperm |
d27e638b1c3a
NEWS: mention randperm changes
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
14408
diff
changeset
|
622 |
13251 | 623 Summary of important user-visible changes for version 3.4.3: |
624 ----------------------------------------------------------- | |
625 | |
13254
46f5e41c8610
Fix version numbers in NEWS
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
13251
diff
changeset
|
626 ** 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
|
627 |
12766
1887d8400ba3
First release candidate for 3.4.2
John W. Eaton <jwe@octave.org>
parents:
12746
diff
changeset
|
628 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
|
629 ----------------------------------------------------------- |
1887d8400ba3
First release candidate for 3.4.2
John W. Eaton <jwe@octave.org>
parents:
12746
diff
changeset
|
630 |
13254
46f5e41c8610
Fix version numbers in NEWS
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
13251
diff
changeset
|
631 ** 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
|
632 version 3.4.1. |
1887d8400ba3
First release candidate for 3.4.2
John W. Eaton <jwe@octave.org>
parents:
12746
diff
changeset
|
633 |
12709 | 634 Summary of important user-visible changes for version 3.4.1: |
635 ----------------------------------------------------------- | |
12413
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
636 |
12709 | 637 ** Octave 3.4.1 is primarily a bug fixing release. |
638 | |
639 ** IMPORTANT note about binary incompatibility in this release: | |
12488
bea828c03969
Add new isrow, iscolumn functions.
Rik <octave@nomad.inbox5.com>
parents:
12464
diff
changeset
|
640 |
12746
07188dbaf89a
maint: minor update to NEWS file
John W. Eaton <jwe@octave.org>
parents:
12739
diff
changeset
|
641 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
|
642 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
|
643 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
|
644 .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
|
645 will work with Octave 3.4.1. |
12498
294c0927c762
Deprecate is_duplicate_entry.
Rik <octave@nomad.inbox5.com>
parents:
12488
diff
changeset
|
646 |
12709 | 647 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
|
648 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
|
649 incompatible changes were also made in this release: |
12709 | 650 |
651 * The Perl Compatible Regular Expression (PCRE) library is now | |
652 required to build Octave. | |
12413
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
653 |
12712 | 654 * Octave's libraries and .oct files are now installed in |
655 subdirectories of $libdir instead of $libexecdir. | |
656 | |
12709 | 657 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
|
658 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
|
659 being used as recommended by the libtool manual. |
12709 | 660 |
661 ** The following functions have been deprecated in Octave 3.4.1 and will | |
662 be removed from Octave 3.8 (or whatever version is the second major | |
663 release after 3.4): | |
664 | |
665 cquad is_duplicate_entry perror strerror | |
12413
b7d0d6044bd7
remove functions deprecated in 3.2
John W. Eaton <jwe@octave.org>
parents:
12400
diff
changeset
|
666 |
12709 | 667 ** The following functions are new in 3.4.1: |
668 | |
12723
6ed1e0be181e
doc: Update NEWS with new functions for release 3.4.1
Rik <octave@nomad.inbox5.com>
parents:
12713
diff
changeset
|
669 colstyle gmres iscolumn isrow mgorth nproc rectangle |
12709 | 670 |
671 ** The get_forge_pkg function is now private. | |
12498
294c0927c762
Deprecate is_duplicate_entry.
Rik <octave@nomad.inbox5.com>
parents:
12488
diff
changeset
|
672 |
12709 | 673 ** The rectangle_lw, rectangle_sw, triangle_lw, and triangle_sw |
674 functions are now private. | |
675 | |
676 ** The logistic_regression_derivatives and logistic_regression_likelihood | |
677 functions are now private. | |
12498
294c0927c762
Deprecate is_duplicate_entry.
Rik <octave@nomad.inbox5.com>
parents:
12488
diff
changeset
|
678 |
12739 | 679 ** ChangeLog files in the Octave sources are no longer maintained |
680 by hand. Instead, there is a single ChangeLog file generated from | |
681 the Mercurial version control commit messages. Older ChangeLog | |
682 information can be found in the etc/OLD-ChangeLogs directory in the | |
683 source distribution. | |
684 | |
11112
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
685 Summary of important user-visible changes for version 3.4: |
9352 | 686 --------------------------------------------------------- |
687 | |
9799
cfd0aa788ae1
remove reference blas and lapack sources
John W. Eaton <jwe@octave.org>
parents:
9745
diff
changeset
|
688 ** 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
|
689 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
|
690 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
|
691 |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
692 ** 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
|
693 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
|
694 Octave. |
9799
cfd0aa788ae1
remove reference blas and lapack sources
John W. Eaton <jwe@octave.org>
parents:
9745
diff
changeset
|
695 |
10118 | 696 ** The `lookup' function was extended to be more useful for |
697 general-purpose binary searching. Using this improvement, the | |
698 ismember function was rewritten for significantly better | |
699 performance. | |
9352 | 700 |
701 ** Real, integer and logical matrices, when used in indexing, will now | |
702 cache the internal index_vector value (zero-based indices) when | |
703 successfully used as indices, eliminating the conversion penalty for | |
10118 | 704 subsequent indexing by the same matrix. In particular, this means it |
705 is no longer needed to avoid repeated indexing by logical arrays | |
706 using find for performance reasons. | |
9888 | 707 |
10118 | 708 ** Logical matrices are now treated more efficiently when used as |
709 indices. Octave will keep the index as a logical mask unless the | |
710 ratio of true elements is small enough, using a specialized | |
711 code. Previously, all logical matrices were always first converted | |
712 to index vectors. This results in savings in both memory and | |
713 computing time. | |
9480 | 714 |
10118 | 715 ** The `sub2ind' and `ind2sub' functions were reimplemented as compiled |
716 functions for better performance. These functions are now faster, | |
717 can deliver more economized results for ranges, and can reuse the | |
718 index cache mechanism described in previous paragraph. | |
719 | |
720 ** The built-in function equivalents to associative operators (`plus', | |
721 `times', `mtimes', `and', and `or') have been extended to accept | |
722 multiple arguments. This is especially useful for summing | |
723 (multiplying, etc.) lists of objects (of possibly distinct types): | |
9408 | 724 |
9449 | 725 matrix_sum = plus (matrix_list{:}); |
726 | |
10118 | 727 ** An FTP object type based on libcurl has been implemented. These |
728 objects allow ftp connections, downloads and uploads to be | |
729 managed. For example, | |
9880 | 730 |
10118 | 731 fp = ftp ("ftp.octave.org); |
732 cd (fp, "gnu/octave"); | |
733 mget (fp, "octave-3.2.3.tar.bz2"); | |
734 close (fp); | |
9880 | 735 |
10118 | 736 ** The default behavior of `assert (observed, expected)' has been |
737 relaxed to employ less strict checking that does not require the | |
738 internals of the values to match. This avoids previously valid | |
739 tests from breaking due to new internal classes introduced in future | |
740 Octave versions. | |
9449 | 741 |
742 For instance, all of these assertions were true in Octave 3.0.x | |
743 but false in 3.2.x due to new optimizations and improvements: | |
744 | |
745 assert (2*linspace (1, 5, 5), 2*(1:5)) | |
746 assert (zeros (0, 0), []) | |
747 assert (2*ones (1, 5), (2) (ones (1,5))) | |
9462 | 748 |
10118 | 749 ** The behavior of library functions `ismatrix', `issquare', and |
750 `issymmetric' has been changed for better consistency. | |
9873 | 751 |
10292 | 752 * 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
|
753 logical and character 2-D or N-D matrices. Previously, `ismatrix' |
10292 | 754 returned false if the first or second dimension was zero. |
755 Hence, `ismatrix ([])' was false, | |
756 while `ismatrix (zeros (1,2,0))' was true. | |
9873 | 757 |
10118 | 758 * The `issquare' function now returns a logical scalar, and is |
759 equivalent to the expression | |
760 | |
761 ismatrix (x) && ndims (x) == 2 && rows (x) == columns (x) | |
762 | |
763 The dimension is no longer returned. As a result, `issquare ([])' | |
764 now yields true. | |
9873 | 765 |
10118 | 766 * 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
|
767 Hermitianness. For the latter, ishermitian was created. Also, |
10118 | 768 logical scalar is returned rather than the dimension, so |
769 `issymmetric ([])' is now true. | |
9873 | 770 |
10118 | 771 ** Function handles are now aware of overloaded functions. If a |
772 function is overloaded, the handle determines at the time of its | |
773 reference which function to call. A non-overloaded version does not | |
774 need to exist. | |
9873 | 775 |
10118 | 776 ** Overloading functions for built-in classes (double, int8, cell, |
777 etc.) is now compatible with Matlab. | |
9408 | 778 |
10323 | 779 ** Function handles can now be compared with the == and != operators, |
780 as well as the `isequal' function. | |
781 | |
10118 | 782 ** Performance of concatenation (using []) and the functions `cat', |
783 `horzcat', and `vertcat' has been improved for multidimensional | |
784 arrays. | |
10117 | 785 |
9547 | 786 ** The operation-assignment operators +=, -=, *= and /= now behave more |
10118 | 787 efficiently in certain cases. For instance, if M is a matrix and S a |
788 scalar, then the statement | |
9547 | 789 |
10118 | 790 M += S; |
9547 | 791 |
10118 | 792 will operate on M's data in-place if it is not shared by another |
793 variable, usually increasing both time and memory efficiency. | |
9547 | 794 |
9558 | 795 Only selected common combinations are affected, namely: |
9547 | 796 |
797 matrix += matrix | |
798 matrix -= matrix | |
9558 | 799 matrix .*= matrix |
800 matrix ./= matrix | |
801 | |
9547 | 802 matrix += scalar |
803 matrix -= scalar | |
804 matrix *= scalar | |
805 matrix /= scalar | |
9558 | 806 |
9552 | 807 logical matrix |= logical matrix |
808 logical matrix &= logical matrix | |
9547 | 809 |
10118 | 810 where matrix and scalar belong to the same class. The left-hand |
811 side must be a simple variable reference. | |
9888 | 812 |
10118 | 813 Moreover, when unary operators occur in expressions, Octave will |
814 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
|
815 temporary expression. |
9589 | 816 |
10118 | 817 ** The effect of comparison operators (<, >, <=, and >=) applied to |
818 complex numbers has changed to be consistent with the strict | |
819 ordering defined by the `max', `min', and `sort' functions. More | |
820 specifically, complex numbers are compared by lexicographical | |
821 comparison of the pairs `[abs(z), arg(z)]'. Previously, only real | |
14188 | 822 parts were compared; this can be trivially achieved by converting |
823 the operands to real values with the `real' function. | |
9547 | 824 |
10118 | 825 ** The automatic simplification of complex computation results has |
826 changed. Octave will now simplify any complex number with a zero | |
827 imaginary part or any complex matrix with all elements having zero | |
828 imaginary part to a real value. Previously, this was done only for | |
829 positive zeros. Note that the behavior of the complex function is | |
830 unchanged and it still produces a complex value even if the | |
831 imaginary part is zero. | |
9826 | 832 |
10118 | 833 ** As a side effect of code refactoring in liboctave, the binary |
834 logical operations are now more easily amenable to compiler | |
835 optimizations and are thus significantly faster. | |
9595 | 836 |
10118 | 837 ** Octave now allows user-defined `subsasgn' methods to optimize out |
838 redundant copies. For more information, see the manual. | |
9595 | 839 |
10453 | 840 ** More efficient matrix division handling. Octave is now able to |
10118 | 841 handle the expressions |
9664 | 842 |
12418
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
843 M' \ V |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
844 M.' \ V |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
845 V / M |
9664 | 846 |
10118 | 847 (M is a matrix and V is a vector) more efficiently in certain cases. |
848 In particular, if M is triangular, all three expressions will be | |
849 handled by a single call to xTRTRS (from LAPACK), with appropriate | |
10453 | 850 flags. Previously, all three expressions required a physical |
10118 | 851 transpose of M. |
9664 | 852 |
10118 | 853 ** More efficient handling of certain mixed real-complex matrix |
854 operations. For instance, if RM is a real matrix and CM a complex | |
855 matrix, | |
9664 | 856 |
10118 | 857 RM * CM |
9664 | 858 |
859 can now be evaluated either as | |
860 | |
861 complex (RM * real (CM), RM * imag (CM)) | |
862 | |
863 or as | |
864 | |
865 complex (RM) * CM, | |
866 | |
10453 | 867 depending on the dimensions. The first form requires more |
868 temporaries and copying, but halves the FLOP count, which normally | |
869 brings better performance if RM has enough rows. Previously, the | |
870 second form was always used. | |
9664 | 871 |
11111 | 872 Matrix division is similarly affected. |
9664 | 873 |
10118 | 874 ** More efficient handling of triangular matrix factors returned from |
875 factorizations. The functions for computing QR, LU and Cholesky | |
876 factorizations will now automatically return the triangular matrix | |
877 factors with proper internal matrix_type set, so that it won't need | |
878 to be computed when the matrix is used for division. | |
9717 | 879 |
10118 | 880 ** The built-in `sum' function now handles the non-native summation |
881 (i.e., double precision sum of single or integer inputs) more | |
882 efficiently, avoiding a temporary conversion of the whole input | |
883 array to doubles. Further, `sum' can now accept an extra option | |
884 argument, using a compensated summation algorithm rather than a | |
885 straightforward sum, which significantly improves precision if lots | |
886 of cancellation occurs in the summation. | |
9717 | 887 |
10118 | 888 ** The built-in `bsxfun' function now uses optimized code for certain |
889 cases where built-in operator handles are passed in. Namely, the | |
890 optimizations concern the operators `plus', `minus', `times', | |
891 `ldivide', `rdivide', `power', `and', `or' (for logical arrays), | |
892 the relational operators `eq', `ne', `lt', `le', `gt', `ge', and the | |
893 functions `min' and `max'. Optimizations only apply when both | |
894 operands are of the same built-in class. Mixed real/complex and | |
895 single/double operations will first convert both operands to a | |
896 common type. | |
9745 | 897 |
10118 | 898 ** The `strfind' and `strrep' functions now have compiled |
899 implementations, facilitating significantly more efficient searching | |
900 and replacing in strings, especially with longer patterns. The code | |
901 of `strcat' has been vectorized and is now much more efficient when | |
902 many strings are concatenated. The `strcmpi' and `strncmpi' | |
903 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
|
904 |
8176c16628c8
doc: Add note about str2double API change to NEWS.
Rik <octave@nomad.inbox5.com>
parents:
12712
diff
changeset
|
905 ** '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
|
906 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
|
907 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
|
908 has been removed. |
10208 | 909 |
10453 | 910 ** Matlab-style ignoring input and output function arguments using |
11111 | 911 tilde (~) is now supported. Ignored output arguments may be |
912 detected from a function using the built-in function `isargout'. | |
913 For more details, consult the manual. | |
10886 | 914 |
10453 | 915 ** The list datatype, deprecated since the introduction of cells, has |
916 been removed. | |
10276 | 917 |
10453 | 918 ** The accumarray function has been optimized and is now significantly |
919 faster in certain important cases. | |
10054 | 920 |
10292 | 921 ** The behavior of isreal and isnumeric functions was changed to be more |
922 Matlab-compatible. | |
923 | |
10406 | 924 ** The integer math & conversion warnings (Octave:int-convert-nan, |
925 Octave:int-convert-non-int-val, Octave:int-convert-overflow, | |
11111 | 926 Octave:int-math-overflow) have been removed. |
10406 | 927 |
10453 | 928 ** rem and mod are now built-in functions. They also handle integer |
929 types efficiently using integer arithmetic. | |
10437 | 930 |
10536 | 931 ** Sparse indexing and indexed assignment has been mostly rewritten. |
932 Since Octave uses compressed column storage for sparse matrices, | |
933 major attention is devoted to operations manipulating whole columns. | |
934 Such operations are now significantly faster, as well as some other | |
935 important cases. | |
936 | |
937 Further, it is now possible to pre-allocate a sparse matrix and | |
938 subsequently fill it by assignments, provided they meet certain | |
939 conditions. For more information, consult the `spalloc' function, | |
940 which is no longer a mere dummy. Consequently, nzmax and nnz are no | |
11111 | 941 longer always equal in Octave. Octave may also produce a matrix |
942 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
|
943 consistently use nnz unless you really want to use nzmax (i.e., the |
11111 | 944 space allocated for nonzero elements). |
10536 | 945 |
946 Sparse concatenation is also affected, and concatenating sparse | |
947 matrices, especially larger collections, is now significantly more | |
11111 | 948 efficient. This applies to both the [] operator and the |
10536 | 949 cat/vertcat/horzcat functions. |
950 | |
11111 | 951 ** It is now possible to optionally employ the xGESDD LAPACK drivers |
14188 | 952 for computing the singular value decomposition using svd, instead |
11111 | 953 of the default xGESVD, using the configuration pseudo-variable |
954 svd_driver. The xGESDD driver can be up to 6x times faster when | |
955 singular vectors are requested, but is reported to be somewhat less | |
10639 | 956 robust on highly ill-conditioned matrices. |
957 | |
958 ** Configuration pseudo-variables, such as page_screen_output or | |
959 confirm_recursive_rmdir (or the above mentioned svd_driver), now | |
960 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
|
961 to be undone when the current function returns: |
10639 | 962 |
963 function [status, msg] = rm_rf (dir) | |
964 confirm_recursive_rmdir (false, "local"); | |
965 [status, msg] = rmdir (dir, "s"); | |
966 ... | |
967 endfunction | |
968 | |
969 Upon return, confirm_recursive_rmdir will be restored to the value | |
970 it had on entry to the function, even if there were subsequent | |
971 changes to the variable in function rm_rf or any of the functions | |
972 it calls. | |
973 | |
11111 | 974 ** pkg now accepts a -forge option for downloading and installing |
975 packages from Octave Forge automatically. For example, | |
10774 | 976 |
977 pkg install -forge general | |
978 | |
11111 | 979 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
|
980 package and attempt to install it. No automatic resolving of |
11111 | 981 dependencies is provided. Further, |
10639 | 982 |
10774 | 983 pkg list -forge |
984 | |
985 can be used to list all available packages. | |
986 | |
12418
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
987 ** 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
|
988 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
|
989 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
|
990 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
|
991 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
|
992 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
|
993 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
|
994 (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
|
995 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
|
996 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
|
997 a C++ DLD function. |
10639 | 998 |
12418
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
999 ** Two new formats are available for displaying numbers: |
11111 | 1000 |
12418
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
1001 format short eng |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
1002 format long eng |
11111 | 1003 |
12418
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
1004 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
|
1005 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
|
1006 |
12418
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
1007 ** 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
|
1008 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
|
1009 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
|
1010 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
|
1011 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
|
1012 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
|
1013 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
|
1014 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
|
1015 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
|
1016 divergence merge ppjumps textread |
11109
41d18f6342f9
remove image_viewer function
John W. Eaton <jwe@octave.org>
parents:
10966
diff
changeset
|
1017 |
12418
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
1018 ** 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
|
1019 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
|
1020 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
|
1021 |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
1022 ** 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
|
1023 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
|
1024 value: |
11109
41d18f6342f9
remove image_viewer function
John W. Eaton <jwe@octave.org>
parents:
10966
diff
changeset
|
1025 |
12418
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
1026 a = 1; |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
1027 a.x = 2; |
10873 | 1028 |
12418
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
1029 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
|
1030 array. |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
1031 |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
1032 ** 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
|
1033 value for empty fields. |
10829 | 1034 |
12418
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
1035 ** 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
|
1036 file IDs (as returned by fopen) in addition to file names. |
11111 | 1037 |
12418
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
1038 ** 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
|
1039 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
|
1040 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
|
1041 values. Example: |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
1042 |
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
1043 f = @(x) sum (x, 1); |
10966 | 1044 |
12418
b914e8125f1b
NEWS: Use indent of 2 spaces rather than occasional 3 spaces.
Rik <octave@nomad.inbox5.com>
parents:
12413
diff
changeset
|
1045 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
|
1046 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
|
1047 call stack. |
10829 | 1048 |
12424 | 1049 ** For compatibility with Matlab, mu2lin (x) is now equivalent to |
1050 mu2lin (x, 0). | |
1051 | |
1052 ** The new function `history_control' may be used to control the way | |
1053 command lines are added to the history list when Octave is using | |
1054 readline for command-line editing. For example | |
1055 | |
1056 history_control ("ignoredups") | |
1057 | |
1058 tells Octave to avoid adding duplicate lines to the history list. | |
1059 | |
1060 ** Octave now uses the gnulib library for improved portability and to | |
1061 avoid bugs in operating system functions. | |
1062 | |
11112
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1063 ** Deprecated functions. |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1064 |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1065 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
|
1066 removed from Octave 3.4. |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1067 |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1068 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
|
1069 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
|
1070 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
|
1071 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
|
1072 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
|
1073 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
|
1074 binomial_pdf intersection polyinteg |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1075 binomial_rnd is_bool setstr |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1076 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
|
1077 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
|
1078 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
|
1079 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
|
1080 clearplot is_square t_pdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1081 clg is_stream t_rnd |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1082 com2str is_struct uniform_cdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1083 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
|
1084 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
|
1085 exponential_pdf isstr uniform_rnd |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1086 exponential_rnd lognormal_cdf weibcdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1087 f_cdf lognormal_inv weibinv |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1088 f_inv lognormal_pdf weibpdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1089 f_pdf lognormal_rnd weibrnd |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1090 f_rnd meshdom weibull_cdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1091 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
|
1092 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
|
1093 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
|
1094 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
|
1095 geometric_cdf pascal_cdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1096 geometric_inv pascal_inv |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1097 |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1098 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
|
1099 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
|
1100 release after 3.2): |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1101 |
11390
7ca273af4309
Deprecate sphcat and spvcat functions.
Rik <octave@nomad.inbox5.com>
parents:
11330
diff
changeset
|
1102 create_set spcholinv splu |
7ca273af4309
Deprecate sphcat and spvcat functions.
Rik <octave@nomad.inbox5.com>
parents:
11330
diff
changeset
|
1103 dmult spcumprod spmax |
7ca273af4309
Deprecate sphcat and spvcat functions.
Rik <octave@nomad.inbox5.com>
parents:
11330
diff
changeset
|
1104 iscommand spcumsum spmin |
7ca273af4309
Deprecate sphcat and spvcat functions.
Rik <octave@nomad.inbox5.com>
parents:
11330
diff
changeset
|
1105 israwcommand spdet spprod |
7ca273af4309
Deprecate sphcat and spvcat functions.
Rik <octave@nomad.inbox5.com>
parents:
11330
diff
changeset
|
1106 lchol spdiag spqr |
7ca273af4309
Deprecate sphcat and spvcat functions.
Rik <octave@nomad.inbox5.com>
parents:
11330
diff
changeset
|
1107 loadimage spfind spsum |
7ca273af4309
Deprecate sphcat and spvcat functions.
Rik <octave@nomad.inbox5.com>
parents:
11330
diff
changeset
|
1108 mark_as_command sphcat spsumsq |
7ca273af4309
Deprecate sphcat and spvcat functions.
Rik <octave@nomad.inbox5.com>
parents:
11330
diff
changeset
|
1109 mark_as_rawcommand spinv spvcat |
7ca273af4309
Deprecate sphcat and spvcat functions.
Rik <octave@nomad.inbox5.com>
parents:
11330
diff
changeset
|
1110 spatan2 spkron str2mat |
7ca273af4309
Deprecate sphcat and spvcat functions.
Rik <octave@nomad.inbox5.com>
parents:
11330
diff
changeset
|
1111 spchol splchol unmark_command |
7ca273af4309
Deprecate sphcat and spvcat functions.
Rik <octave@nomad.inbox5.com>
parents:
11330
diff
changeset
|
1112 spchol2inv split unmark_rawcommand |
11112
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1113 |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1114 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
|
1115 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
|
1116 release after 3.4): |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1117 |
14354
55bb8c902a4d
maint: Remove deprecated functions from dev branch for next (3.8) release.
Rik <octave@nomad.inbox5.com>
parents:
14294
diff
changeset
|
1118 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
|
1119 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
|
1120 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
|
1121 |
7990
86dae6e5b83c
Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents:
7279
diff
changeset
|
1122 Summary of important user-visible changes for version 3.2: |
5913 | 1123 --------------------------------------------------------- |
2452 | 1124 |
8737 | 1125 ** Compatibility with Matlab graphics has been improved. |
6329 | 1126 |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
1127 The hggroup object and associated listener callback functions have |
8737 | 1128 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
|
1129 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
|
1130 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
1131 x = 0:0.1:10; |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
1132 y = sin (x); |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
1133 plot (x, y, "ydatasource", "y"); |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
1134 for i = 1 : 100 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
1135 pause(0.1) |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
1136 y = sin (x + 0.1 * i); |
14188 | 1137 refreshdata (); |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
1138 endfor |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
1139 |
8737 | 1140 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
|
1141 stem-series, bar-series, etc., objects for better Matlab |
8737 | 1142 compatibility. |
1143 | |
1144 ** New graphics functions: | |
1145 | |
11576
8ac9687dbe9f
rename backend to graphics_toolkit
John W. Eaton <jwe@octave.org>
parents:
11562
diff
changeset
|
1146 addlistener ezcontour gcbo refresh |
8ac9687dbe9f
rename backend to graphics_toolkit
John W. Eaton <jwe@octave.org>
parents:
11562
diff
changeset
|
1147 addproperty ezcontourf ginput refreshdata |
8ac9687dbe9f
rename backend to graphics_toolkit
John W. Eaton <jwe@octave.org>
parents:
11562
diff
changeset
|
1148 allchild ezmesh gtext specular |
8ac9687dbe9f
rename backend to graphics_toolkit
John W. Eaton <jwe@octave.org>
parents:
11562
diff
changeset
|
1149 available_graphics_toolkits ezmeshc intwarning surfl |
8ac9687dbe9f
rename backend to graphics_toolkit
John W. Eaton <jwe@octave.org>
parents:
11562
diff
changeset
|
1150 graphics_toolkit ezplot ishghandle trisurf |
8ac9687dbe9f
rename backend to graphics_toolkit
John W. Eaton <jwe@octave.org>
parents:
11562
diff
changeset
|
1151 cla ezplot3 isocolors waitforbuttonpress |
8ac9687dbe9f
rename backend to graphics_toolkit
John W. Eaton <jwe@octave.org>
parents:
11562
diff
changeset
|
1152 clabel ezpolar isonormals |
8ac9687dbe9f
rename backend to graphics_toolkit
John W. Eaton <jwe@octave.org>
parents:
11562
diff
changeset
|
1153 comet ezsurf isosurface |
8ac9687dbe9f
rename backend to graphics_toolkit
John W. Eaton <jwe@octave.org>
parents:
11562
diff
changeset
|
1154 dellistener findall linkprop |
8ac9687dbe9f
rename backend to graphics_toolkit
John W. Eaton <jwe@octave.org>
parents:
11562
diff
changeset
|
1155 diffuse gcbf plotmatrix |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
1156 |
8737 | 1157 ** New experimental OpenGL/FLTK based plotting system. |
1158 | |
1159 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
|
1160 toolkit is now part of Octave. This graphics toolkit is disabled by |
8737 | 1161 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
|
1162 |
11576
8ac9687dbe9f
rename backend to graphics_toolkit
John W. Eaton <jwe@octave.org>
parents:
11562
diff
changeset
|
1163 graphics_toolkit ("fltk") |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
1164 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
1165 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
|
1166 |
11576
8ac9687dbe9f
rename backend to graphics_toolkit
John W. Eaton <jwe@octave.org>
parents:
11562
diff
changeset
|
1167 graphics_toolkit (h, "fltk") |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
1168 |
11139 | 1169 where "h" is a valid figure handle. |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8014
diff
changeset
|
1170 |
8737 | 1171 ** Functions providing direct access to gnuplot have been removed. |
1172 | |
7990
86dae6e5b83c
Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents:
7279
diff
changeset
|
1173 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
|
1174 __gnuplot_show__, __gnuplot_replot__, __gnuplot_splot__, |
8737 | 1175 __gnuplot_save_data__ and __gnuplot_send_inline_data__ have been |
1176 removed from Octave. These function were incompatible with the | |
1177 high level graphics handle code. | |
6329 | 1178 |
8885 | 1179 ** The Control, Finance and Quaternion functions have been removed. |
1180 | |
1181 These functions are now available as separate packages from | |
1182 | |
1183 http://octave.sourceforge.net/packages.html | |
1184 | |
1185 and can be reinstalled using the Octave package manager (see | |
1186 the pkg function). | |
1187 | |
1188 ** Specific sparse matrix functions removed. | |
1189 | |
1190 The following functions, which handled only sparse matrices have | |
1191 been removed. Instead of calling these functions directly, you | |
1192 should use the corresponding function without the "sp" prefix. | |
8737 | 1193 |
8885 | 1194 spatan2 spcumsum spkron spprod |
1195 spchol spdet splchol spqr | |
1196 spchol2inv spdiag splu spsum | |
1197 spcholinv spfind spmax spsumsqk | |
1198 spcumprod spinv spmin | |
1199 | |
1200 ** Improvements to the debugger. | |
1201 | |
1202 The interactive debugging features have been improved. Stopping | |
1203 on statements with dbstop should work correctly now. Stepping | |
1204 into and over functions, and stepping one statement at a time | |
1205 (with dbstep) now works. Moving up and down the call stack with | |
1206 dbup and dbdown now works. The dbstack function is now available | |
1207 to print the current function call stack. The new dbquit function | |
1208 is available to exit the debugging mode. | |
1209 | |
1210 ** Improved traceback error messages. | |
1211 | |
1212 Traceback error messages are much more concise and easier to | |
1213 understand. They now display information about the function call | |
1214 stack instead of the stack of all statements that were active at | |
1215 the point of the error. | |
8014
44d206ae68c9
improve fsolve compatibility
John W. Eaton <jwe@octave.org>
parents:
7990
diff
changeset
|
1216 |
8737 | 1217 ** Object Oriented Programming. |
8405
d79dfbff2f9d
document new norm features in NEWS
Jaroslav Hajek <highegg@gmail.com>
parents:
8396
diff
changeset
|
1218 |
8737 | 1219 Octave now includes OOP features and the user can create their own |
1220 class objects and overloaded functions and operators. For | |
1221 example, all methods of a class called "myclass" will be found in | |
1222 a directory "@myclass" on the users path. The class specific | |
1223 versions of functions and operators take precedence over the | |
1224 generic versions of these functions. | |
1225 | |
1226 New functions related to OOP include | |
7189 | 1227 |
8737 | 1228 class inferiorto isobject loadobj methods superiorto |
1229 | |
1230 See the Octave manual for more details. | |
7038 | 1231 |
8747 | 1232 ** Parsing of Command-style Functions. |
1233 | |
1234 Octave now parses command-style functions without needing to first | |
1235 declare them with "mark_as_command". The rules for recognizing a | |
1236 command-style function calls are | |
1237 | |
1238 * A command must appear as the first word in a statement, | |
1239 followed by a space. | |
1240 | |
1241 * The first character after the space must not be '=' or '(' | |
1242 | |
1243 * The next token after the space must not look like a binary | |
1244 operator. | |
1245 | |
1246 These rules should be mostly compatible with the way Matlab parses | |
1247 command-style function calls and allow users to define commands in | |
1248 .m files without having to mark them as commands. | |
1249 | |
1250 Note that previous versions of Octave allowed expressions like | |
1251 | |
1252 x = load -text foo.dat | |
1253 | |
1254 but an expression like this will now generate a parse error. In | |
1255 order to assign the value returned by a function to a variable, | |
1256 you must use the normal function call syntax: | |
1257 | |
1258 x = load ("-text", "foo.dat"); | |
1259 | |
8737 | 1260 ** Block comments. |
1261 | |
8747 | 1262 Commented code can be between matching "#{" and "#}" or "%{" and |
1263 "%}" markers, even if the commented code spans several line. This | |
1264 allows blocks code to be commented, without needing to comment | |
1265 each line. For example, | |
5814 | 1266 |
8747 | 1267 function [s, t] = func (x, y) |
1268 s = 2 * x; | |
1269 #{ | |
1270 s *= y; | |
1271 t = y + x; | |
1272 #} | |
7990
86dae6e5b83c
Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents:
7279
diff
changeset
|
1273 endfunction |
5814 | 1274 |
8747 | 1275 the lines "s *= y;" and "t = y + x" will not be executed. |
8737 | 1276 |
12400
5252f12537f8
don't warn about coercing nested functions to subfunctions if yyparse failed
John W. Eaton <jwe@octave.org>
parents:
12224
diff
changeset
|
1277 ** 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
|
1278 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
|
1279 |
5252f12537f8
don't warn about coercing nested functions to subfunctions if yyparse failed
John W. Eaton <jwe@octave.org>
parents:
12224
diff
changeset
|
1280 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
|
1281 ... |
5252f12537f8
don't warn about coercing nested functions to subfunctions if yyparse failed
John W. Eaton <jwe@octave.org>
parents:
12224
diff
changeset
|
1282 # 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
|
1283 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
|
1284 ... |
5252f12537f8
don't warn about coercing nested functions to subfunctions if yyparse failed
John W. Eaton <jwe@octave.org>
parents:
12224
diff
changeset
|
1285 endfunction |
5252f12537f8
don't warn about coercing nested functions to subfunctions if yyparse failed
John W. Eaton <jwe@octave.org>
parents:
12224
diff
changeset
|
1286 |
5252f12537f8
don't warn about coercing nested functions to subfunctions if yyparse failed
John W. Eaton <jwe@octave.org>
parents:
12224
diff
changeset
|
1287 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
|
1288 |
8737 | 1289 ** Special treatment in the parser of expressions like "a' * b". |
2452 | 1290 |
8737 | 1291 In these cases the transpose is no longer explicitly formed and |
1292 BLAS libraries are called with the transpose flagged, | |
1293 significantly improving performance for these kinds of | |
1294 operations. | |
8417
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8405
diff
changeset
|
1295 |
8737 | 1296 ** Single Precision data type. |
2452 | 1297 |
8737 | 1298 Octave now includes a single precision data type. Single |
1299 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
|
1300 from functions like ones, eye, etc. For example, |
5995 | 1301 |
8737 | 1302 single (1) |
1303 ones (2, 2, "single") | |
1304 zeros (2, 2, "single") | |
1305 eye (2, 2, "single") | |
1306 Inf (2, 2, "single") | |
1307 NaN (2, 2, "single") | |
1308 NA (2, 2, "single") | |
7279 | 1309 |
8737 | 1310 all create single precision variables. For compatibility with |
1311 Matlab, mixed double/single precision operators and functions | |
1312 return single precision types. | |
1313 | |
1314 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
|
1315 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
|
1316 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
|
1317 visa-versa are warned that compatibility might not be assured. |
7279 | 1318 |
8737 | 1319 ** Improved array indexing. |
1320 | |
1321 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
|
1322 completely rewritten and indexing is now significantly faster. |
8737 | 1323 |
8755 | 1324 ** Improved memory management. |
1325 | |
1326 Octave will now attempt to share data in some cases where previously | |
1327 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
|
1328 conversions between cells, structs and cs-lists. This usually reduces |
8755 | 1329 both time and memory consumption. |
9128 | 1330 Also, Octave will now attempt to detect and optimize usage of a vector |
1331 as a stack, when elements are being repeatedly inserted at/removed from | |
1332 the end of the vector. | |
8755 | 1333 |
8738 | 1334 ** Improved performance for reduction operations. |
1335 | |
8755 | 1336 The performance of the sum, prod, sumsq, cumsum, cumprod, any, all, |
1337 max and min functions has been significantly improved. | |
8738 | 1338 |
9006 | 1339 ** Sorting and searching. |
1340 | |
1341 The performance of sort has been improved, especially when sorting | |
10453 | 1342 indices are requested. An efficient built-in issorted |
1343 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
|
1344 efficient algorithm, especially in the homogeneous case. The lookup |
10453 | 1345 function is now a built-in function performing a binary search, |
1346 optimized for long runs of close elements. Lookup also works with | |
1347 cell arrays of strings. | |
9006 | 1348 |
1349 ** Range arithmetics | |
1350 | |
10453 | 1351 For some operations on ranges, Octave will attempt to keep the |
1352 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
|
1353 subtracting a scalar, and multiplying by a scalar. Ranges with zero |
10453 | 1354 increment are allowed and can be constructed using the built-in |
1355 function `ones'. | |
9006 | 1356 |
1357 ** Various performance improvements. | |
1358 | |
10453 | 1359 Performance of a number of other built-in operations and functions |
1360 was improved, including: | |
9006 | 1361 |
1362 * logical operations | |
1363 * comparison operators | |
1364 * element-wise power | |
1365 * accumarray | |
1366 * cellfun | |
1367 * isnan | |
1368 * isinf | |
1369 * isfinite | |
1370 * nchoosek | |
1371 * repmat | |
1372 * strcmp | |
1373 | |
8737 | 1374 ** 64-bit integer arithmetic. |
1375 | |
1376 Arithmetic with 64-bit integers (int64 and uint64 types) is fully | |
1377 supported, with saturation semantics like the other integer types. | |
1378 Performance of most integer arithmetic operations has been | |
1379 improved by using integer arithmetic directly. Previously, Octave | |
1380 performed integer math with saturation semantics by converting the | |
1381 operands to double precision, performing the operation, and then | |
1382 converting the result back to an integer value, truncating if | |
1383 necessary. | |
1384 | |
8885 | 1385 ** Diagonal and permutation matrices. |
1386 | |
1387 The interpreter can now treat diagonal and permutation matrices as | |
1388 special objects that store only the non-zero elements, rather than | |
1389 general full matrices. Therefore, it is now possible to construct | |
1390 and use these matrices in linear algebra without suffering a | |
1391 performance penalty due to storing large numbers of zero elements. | |
1392 | |
1393 ** Improvements to fsolve. | |
1394 | |
1395 The fsolve function now accepts an option structure argument (see | |
1396 also the optimset function). The INFO values returned from fsolve | |
1397 have changed to be compatible with Matlab's fsolve function. | |
1398 Additionally, fsolve is now able to solve overdetermined systems, | |
1399 complex-differentiable complex systems, systems with a sparse | |
1400 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
|
1401 inputs. It can also be called recursively. |
8885 | 1402 |
8737 | 1403 ** Improvements to the norm function. |
1404 | |
1405 The norm function is now able to compute row or column norms of a | |
1406 matrix in a single call, as well as general matrix p-norms. | |
1407 | |
1408 ** New functions for computing some eigenvalues or singular values. | |
1409 | |
1410 The eigs and svds functions have been included in Octave. These | |
1411 functions require the ARPACK library (now distributed under a | |
1412 GPL-compatible license). | |
1413 | |
1414 ** 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
|
1415 |
8737 | 1416 choldelete cholshift qrdelete qrshift |
1417 cholinsert cholupdate qrinsert qrupdate | |
1418 | |
1419 ** New quadrature functions. | |
1420 | |
1421 dblquad quadgk quadv triplequad | |
1422 | |
8885 | 1423 ** New functions for reading and writing images. |
1424 | |
1425 The imwrite and imread functions have been included in Octave. | |
1426 These functions require the GraphicsMagick library. The new | |
1427 function imfinfo provides information about an image file (size, | |
1428 type, colors, etc.) | |
1429 | |
9215
1500d0197484
allow multiple input event hook functions to be installed simultaneously
John W. Eaton <jwe@octave.org>
parents:
9128
diff
changeset
|
1430 ** 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
|
1431 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
|
1432 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
|
1433 |
8737 | 1434 ** Other miscellaneous new functions. |
8370
34960ba08a81
document more new features in the NEWS file
Jaroslav Hajek <highegg@gmail.com>
parents:
8292
diff
changeset
|
1435 |
8932
2d0f8692a82e
Add the 'histc' function
Soren Hauberg <hauberg@gmail.com>
parents:
8888
diff
changeset
|
1436 addtodate hypot reallog |
2d0f8692a82e
Add the 'histc' function
Soren Hauberg <hauberg@gmail.com>
parents:
8888
diff
changeset
|
1437 bicgstab idivide realpow |
9006 | 1438 cellslices info realsqrt |
1439 cgs interp1q rectint | |
1440 command_line_path isdebugmode regexptranslate | |
1441 contrast isfloat restoredefaultpath | |
1442 convn isstrprop roundb | |
1443 cummin log1p rundemos | |
1444 cummax lsqnonneg runlength | |
1445 datetick matlabroot saveobj | |
1446 display namelengthmax spaugment | |
1447 expm1 nargoutchk strchr | |
1448 filemarker pathdef strvcat | |
1449 fstat perl subspace | |
1450 full prctile symvar | |
1451 fzero quantile treelayout | |
1452 genvarname re_read_readline_init_file validatestring | |
1453 histc | |
8370
34960ba08a81
document more new features in the NEWS file
Jaroslav Hajek <highegg@gmail.com>
parents:
8292
diff
changeset
|
1454 |
8885 | 1455 ** Changes to strcat. |
1456 | |
1457 The strcat function is now compatible with Matlab's strcat | |
1458 function, which removes trailing whitespace when concatenating | |
1459 character strings. For example | |
1460 | |
1461 strcat ('foo ', 'bar') | |
1462 ==> 'foobar' | |
1463 | |
1464 The new function cstrcat provides the previous behavior of | |
1465 Octave's strcat. | |
1466 | |
1467 ** Improvements to the help functions. | |
1468 | |
9034
52515efc50c0
Documentation cleanup on NEWS file
Rik <rdrider0-list@yahoo.com>
parents:
9031
diff
changeset
|
1469 The help system has been mostly re-implemented in .m files to make |
8885 | 1470 it easier to modify. Performance of the lookfor function has been |
1471 greatly improved by caching the help text from all functions that | |
1472 are distributed with Octave. The pkg function has been modified | |
1473 to generate cache files for external packages when they are | |
1474 installed. | |
1475 | |
8888
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
1476 ** Deprecated functions. |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
1477 |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
1478 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
|
1479 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
|
1480 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
|
1481 |
11112
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1482 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
|
1483 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
|
1484 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
|
1485 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
|
1486 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
|
1487 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
|
1488 binomial_pdf intersection polyinteg |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1489 binomial_rnd is_bool setstr |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1490 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
|
1491 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
|
1492 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
|
1493 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
|
1494 clearplot is_square t_pdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1495 clg is_stream t_rnd |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1496 com2str is_struct uniform_cdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1497 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
|
1498 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
|
1499 exponential_pdf isstr uniform_rnd |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1500 exponential_rnd lognormal_cdf weibcdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1501 f_cdf lognormal_inv weibinv |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1502 f_inv lognormal_pdf weibpdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1503 f_pdf lognormal_rnd weibrnd |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1504 f_rnd meshdom weibull_cdf |
8ea4cf59c41b
list deprecated and removed functions in NEWS file
John W. Eaton <jwe@octave.org>
parents:
11111
diff
changeset
|
1505 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
|
1506 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
|
1507 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
|
1508 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
|
1509 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
|
1510 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
|
1511 |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
1512 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
|
1513 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
|
1514 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
|
1515 |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
1516 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
|
1517 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
|
1518 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
|
1519 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
|
1520 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
|
1521 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
|
1522 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
|
1523 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
|
1524 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
|
1525 spchol split |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
1526 spchol2inv splu |
0c7b0049c023
mark create_set as deprecated in 3.2, not 3.0
John W. Eaton <jwe@octave.org>
parents:
8885
diff
changeset
|
1527 |
7990
86dae6e5b83c
Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents:
7279
diff
changeset
|
1528 See NEWS.3 for old news. |