annotate NEWS @ 20623:e34692daf663

Extend parser to accept '_' in numbers. * NEWS: Announce change. * lex.ll: Define NUMBER to be a NUMREAL (real number) or NUMHEX (hex number). Define NUMREAL to begin with a digit (D) followed by more digits or an '_'. Define NUMHEX to begin with 0[xX], a hex digit (a-fA-F0-9), followed by '_' or more hex digits. Define EXPON to have a digit (D) followed by more digits or an '_'. * lex.ll (octave_base_lexer::handle_number): Strip out any underscores before processing number with sscanf. * parser.tst: Add tests for new behavior.
author Rik <rik@octave.org>
date Mon, 05 Oct 2015 14:05:58 -0700
parents b70cc4bd8109
children 7c0e10f035bd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
20192
e410d62ae2c8 maint: move NEWS from 45565ecec019 from the release 4.0 to 4.2.
Carnë Draug <carandraug@octave.org>
parents: 20189
diff changeset
1 Summary of important user-visible changes for version 4.2:
e410d62ae2c8 maint: move NEWS from 45565ecec019 from the release 4.0 to 4.2.
Carnë Draug <carandraug@octave.org>
parents: 20189
diff changeset
2 ---------------------------------------------------------
e410d62ae2c8 maint: move NEWS from 45565ecec019 from the release 4.0 to 4.2.
Carnë Draug <carandraug@octave.org>
parents: 20189
diff changeset
3
20623
e34692daf663 Extend parser to accept '_' in numbers.
Rik <rik@octave.org>
parents: 20569
diff changeset
4 ** The parser has been extended to accept, but ignore, underscore characters
e34692daf663 Extend parser to accept '_' in numbers.
Rik <rik@octave.org>
parents: 20569
diff changeset
5 in numbers. This facilitates writing more legible code by using '_' as
e34692daf663 Extend parser to accept '_' in numbers.
Rik <rik@octave.org>
parents: 20569
diff changeset
6 a thousands separator or to group nibbles into bytes in hex constants.
e34692daf663 Extend parser to accept '_' in numbers.
Rik <rik@octave.org>
parents: 20569
diff changeset
7
e34692daf663 Extend parser to accept '_' in numbers.
Rik <rik@octave.org>
parents: 20569
diff changeset
8 Examples: 1_000_000 == 1e6 or 0xDE_AD_BE_EF
e34692daf663 Extend parser to accept '_' in numbers.
Rik <rik@octave.org>
parents: 20569
diff changeset
9
20565
17e507df10e3 Set the default colormap to 'viridis'
Carlo de Falco <carlo.defalco@polimi.it>
parents: 20537
diff changeset
10 ** The default colormap is now set to 'viridis' which is also
17e507df10e3 Set the default colormap to 'viridis'
Carlo de Falco <carlo.defalco@polimi.it>
parents: 20537
diff changeset
11 the default colormap in matplotlib. This new colormap fixes
17e507df10e3 Set the default colormap to 'viridis'
Carlo de Falco <carlo.defalco@polimi.it>
parents: 20537
diff changeset
12 some of the main issues with the old default colormap 'jet'
17e507df10e3 Set the default colormap to 'viridis'
Carlo de Falco <carlo.defalco@polimi.it>
parents: 20537
diff changeset
13 such as its bad 'luminance profile' and is also more similar
17e507df10e3 Set the default colormap to 'viridis'
Carlo de Falco <carlo.defalco@polimi.it>
parents: 20537
diff changeset
14 to Matlab's new default colormap 'parula'.
17e507df10e3 Set the default colormap to 'viridis'
Carlo de Falco <carlo.defalco@polimi.it>
parents: 20537
diff changeset
15
20245
29eb47fe8e8c Add support for octal and hex escape sequences in single-quoted *printf arguments (bug #39774).
Rik <rik@octave.org>
parents: 20235
diff changeset
16 ** Octal ('\NNN') and hex ('\xNN') escape sequences in single quoted
29eb47fe8e8c Add support for octal and hex escape sequences in single-quoted *printf arguments (bug #39774).
Rik <rik@octave.org>
parents: 20235
diff changeset
17 strings are now interpreted by the function do_string_escapes().
29eb47fe8e8c Add support for octal and hex escape sequences in single-quoted *printf arguments (bug #39774).
Rik <rik@octave.org>
parents: 20235
diff changeset
18 The *printf family of functions now supports octal and hex escape
29eb47fe8e8c Add support for octal and hex escape sequences in single-quoted *printf arguments (bug #39774).
Rik <rik@octave.org>
parents: 20235
diff changeset
19 sequences in single-quoted strings for Matlab compatibility.
29eb47fe8e8c Add support for octal and hex escape sequences in single-quoted *printf arguments (bug #39774).
Rik <rik@octave.org>
parents: 20235
diff changeset
20
20246
f2bc7d23295d Add special hex/octal escape sequence processing for regexp.
Rik <rik@octave.org>
parents: 20245
diff changeset
21 ** Special octal and hex escape sequences for the pattern and replacement
f2bc7d23295d Add special hex/octal escape sequence processing for regexp.
Rik <rik@octave.org>
parents: 20245
diff changeset
22 strings in regular expressions are now interpreted for Matlab compatibility.
f2bc7d23295d Add special hex/octal escape sequence processing for regexp.
Rik <rik@octave.org>
parents: 20245
diff changeset
23
f2bc7d23295d Add special hex/octal escape sequence processing for regexp.
Rik <rik@octave.org>
parents: 20245
diff changeset
24 octal: '\oNNN' or '\o{NNN}'
f2bc7d23295d Add special hex/octal escape sequence processing for regexp.
Rik <rik@octave.org>
parents: 20245
diff changeset
25 hex : '\xNN' or '\x{NN}'
f2bc7d23295d Add special hex/octal escape sequence processing for regexp.
Rik <rik@octave.org>
parents: 20245
diff changeset
26
20325
b6a59cc96bfa Process backslashes in regexprep replacement strings in Matlab compatible fashion (bug #45407).
Rik <rik@octave.org>
parents: 20316
diff changeset
27 ** Unknown escape sequences in the replacement string for regexprep are now
b6a59cc96bfa Process backslashes in regexprep replacement strings in Matlab compatible fashion (bug #45407).
Rik <rik@octave.org>
parents: 20316
diff changeset
28 substituted with their unescaped version and no warning is emitted.
b6a59cc96bfa Process backslashes in regexprep replacement strings in Matlab compatible fashion (bug #45407).
Rik <rik@octave.org>
parents: 20316
diff changeset
29 This change was made for Matlab compatibility.
b6a59cc96bfa Process backslashes in regexprep replacement strings in Matlab compatible fashion (bug #45407).
Rik <rik@octave.org>
parents: 20316
diff changeset
30
b6a59cc96bfa Process backslashes in regexprep replacement strings in Matlab compatible fashion (bug #45407).
Rik <rik@octave.org>
parents: 20316
diff changeset
31 Example: regexprep ('a', 'a', 'x\yz')
b6a59cc96bfa Process backslashes in regexprep replacement strings in Matlab compatible fashion (bug #45407).
Rik <rik@octave.org>
parents: 20316
diff changeset
32 => 'xyz'
b6a59cc96bfa Process backslashes in regexprep replacement strings in Matlab compatible fashion (bug #45407).
Rik <rik@octave.org>
parents: 20316
diff changeset
33
20235
d9f35ceff9e1 Change mkfifo to use an octal argument for MODE (bug #45054).
Rik <rik@octave.org>
parents: 20192
diff changeset
34 ** mkfifo now interprets the MODE argument as an octal, not decimal, integer.
d9f35ceff9e1 Change mkfifo to use an octal argument for MODE (bug #45054).
Rik <rik@octave.org>
parents: 20192
diff changeset
35 This is consistent with the equivalent shell command.
d9f35ceff9e1 Change mkfifo to use an octal argument for MODE (bug #45054).
Rik <rik@octave.org>
parents: 20192
diff changeset
36
20501
16b9ec39ff46 Return empty matrix when linspace called with 0 points (bug #45820)
Rik <rik@octave.org>
parents: 20325
diff changeset
37 ** linspace now returns an empty matrix if the number of requested points
16b9ec39ff46 Return empty matrix when linspace called with 0 points (bug #45820)
Rik <rik@octave.org>
parents: 20325
diff changeset
38 is 0 or a negative number. This change was made to be compatible with
16b9ec39ff46 Return empty matrix when linspace called with 0 points (bug #45820)
Rik <rik@octave.org>
parents: 20325
diff changeset
39 Matlab releases newer than 2011. In addition, Octave no longer supports
16b9ec39ff46 Return empty matrix when linspace called with 0 points (bug #45820)
Rik <rik@octave.org>
parents: 20325
diff changeset
40 matrix inputs for A or B.
16b9ec39ff46 Return empty matrix when linspace called with 0 points (bug #45820)
Rik <rik@octave.org>
parents: 20325
diff changeset
41
20249
561af1ab6099 griddata.m: Return values instead of plotting for Matlab compatibility (bug #45125)
Mike Miller <mtmiller@octave.org>
parents: 20246
diff changeset
42 ** The griddata function no longer plots the interpolated mesh if no output
561af1ab6099 griddata.m: Return values instead of plotting for Matlab compatibility (bug #45125)
Mike Miller <mtmiller@octave.org>
parents: 20246
diff changeset
43 argument is requested, instead the vector or array of interpolated values
561af1ab6099 griddata.m: Return values instead of plotting for Matlab compatibility (bug #45125)
Mike Miller <mtmiller@octave.org>
parents: 20246
diff changeset
44 is always returned for Matlab compatibility.
561af1ab6099 griddata.m: Return values instead of plotting for Matlab compatibility (bug #45125)
Mike Miller <mtmiller@octave.org>
parents: 20246
diff changeset
45
20262
9f484edd8767 surfnorm.m: Return unnormalized vectors for Matlab compatibility.
Rik <rik@octave.org>
parents: 20249
diff changeset
46 ** The surfnorm function now returns unnormalized (magnitude != 1) normal
9f484edd8767 surfnorm.m: Return unnormalized vectors for Matlab compatibility.
Rik <rik@octave.org>
parents: 20249
diff changeset
47 vectors for compatibility with Matlab.
9f484edd8767 surfnorm.m: Return unnormalized vectors for Matlab compatibility.
Rik <rik@octave.org>
parents: 20249
diff changeset
48
20192
e410d62ae2c8 maint: move NEWS from 45565ecec019 from the release 4.0 to 4.2.
Carnë Draug <carandraug@octave.org>
parents: 20189
diff changeset
49 ** Other new functions added in 4.2:
e410d62ae2c8 maint: move NEWS from 45565ecec019 from the release 4.0 to 4.2.
Carnë Draug <carandraug@octave.org>
parents: 20189
diff changeset
50
e410d62ae2c8 maint: move NEWS from 45565ecec019 from the release 4.0 to 4.2.
Carnë Draug <carandraug@octave.org>
parents: 20189
diff changeset
51 psi
20568
fcb792acab9b Moving ode45, odeset, odeget, and levenshtein from odepkg to core.
jcorno <jacopo.corno@gmail.com>
parents: 20565
diff changeset
52 odeset
fcb792acab9b Moving ode45, odeset, odeget, and levenshtein from odepkg to core.
jcorno <jacopo.corno@gmail.com>
parents: 20565
diff changeset
53 odeget
fcb792acab9b Moving ode45, odeset, odeget, and levenshtein from odepkg to core.
jcorno <jacopo.corno@gmail.com>
parents: 20565
diff changeset
54 ode45
20192
e410d62ae2c8 maint: move NEWS from 45565ecec019 from the release 4.0 to 4.2.
Carnë Draug <carandraug@octave.org>
parents: 20189
diff changeset
55
20519
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20501
diff changeset
56 ** Deprecated functions.
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20501
diff changeset
57
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20501
diff changeset
58 The following functions have been deprecated in Octave 4.2 and will
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20501
diff changeset
59 be removed from Octave 4.6 (or whatever version is the second major
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20501
diff changeset
60 release after 4.2):
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20501
diff changeset
61
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20501
diff changeset
62 Function | Replacement
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20501
diff changeset
63 ---------------------|------------------
20521
4bb41929286b Deprecate bitmax.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 20519
diff changeset
64 bitmax | flintmax
20537
afdb856e44f1 Deprecate mahalanobis function.
Rik <rik@octave.org>
parents: 20536
diff changeset
65 mahalanobis | mahal in Octave-Forge statistics pkg
20519
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20501
diff changeset
66 wavread | audioread
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20501
diff changeset
67 wavwrite | audiowrite
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20501
diff changeset
68
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20501
diff changeset
69 ** The following functions were deprecated in Octave 3.8 and have been
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20501
diff changeset
70 removed from Octave 4.2.
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20501
diff changeset
71
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20501
diff changeset
72 default_save_options java_new
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20501
diff changeset
73 gen_doc_cache java_unsigned_conversion
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20501
diff changeset
74 interp1q javafields
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20501
diff changeset
75 isequalwithequalnans javamethods
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20501
diff changeset
76 java_convert_matrix re_read_readline_init_file
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20501
diff changeset
77 java_debug read_readline_init_file
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20501
diff changeset
78 java_invoke saving_history
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20501
diff changeset
79
20569
b70cc4bd8109 begin removal of global error_state variable
John W. Eaton <jwe@octave.org>
parents: 20568
diff changeset
80 ** The global error_state variable in Octave's C++ API has been
b70cc4bd8109 begin removal of global error_state variable
John W. Eaton <jwe@octave.org>
parents: 20568
diff changeset
81 deprecated and will be removed in a future version. Now the error
b70cc4bd8109 begin removal of global error_state variable
John W. Eaton <jwe@octave.org>
parents: 20568
diff changeset
82 and print_usage functions throw an exception
b70cc4bd8109 begin removal of global error_state variable
John W. Eaton <jwe@octave.org>
parents: 20568
diff changeset
83 (octave_execution_error) after displaying the error message. This
b70cc4bd8109 begin removal of global error_state variable
John W. Eaton <jwe@octave.org>
parents: 20568
diff changeset
84 makes the error and print_usage functions in C++ work more like the
b70cc4bd8109 begin removal of global error_state variable
John W. Eaton <jwe@octave.org>
parents: 20568
diff changeset
85 corresponding functions in the scripting language.
20192
e410d62ae2c8 maint: move NEWS from 45565ecec019 from the release 4.0 to 4.2.
Carnë Draug <carandraug@octave.org>
parents: 20189
diff changeset
86
19679
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
87 Summary of important user-visible changes for version 4.0:
18109
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18107
diff changeset
88 ---------------------------------------------------------
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18107
diff changeset
89
19976
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
90 ** A graphical user interface is now the default when running Octave
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
91 interactively. The start-up option --no-gui will run the familiar
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
92 command line interface, and still allows use of the GUI dialogs and
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
93 qt plotting toolkit. The option --no-gui-libs runs a minimalist
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
94 command line interface that does not link with the Qt libraries and
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
95 uses the fltk toolkit for plotting.
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
96
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
97 ** Octave now uses OpenGL graphics with Qt widgets by default. If OpenGL
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
98 libraries are not available when Octave is built, gnuplot is used.
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
99 You may choose to use the fltk or gnuplot toolkit for graphics by
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
100 executing the command
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
101
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
102 graphics_toolkit ("fltk")
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
103 OR
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
104 graphics_toolkit ("gnuplot")
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
105
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
106 Adding such a command to your ~/.octaverc file will set the default
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
107 for each session.
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
108
18842
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
109 ** A new syntax for object oriented programming termed classdef has been
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
110 introduced. See the manual for more extensive documentation of the
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
111 classdef interface.
19115
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
112
18842
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
113 New keywords:
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
114
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
115 classdef endclassdef
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
116 enumeration endenumeration
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
117 events endevents
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
118 methods endmethods
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
119 properties endproperties
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
120
19554
9f7a2d75ce1f * NEWS: Mention new audio functions.
John W. Eaton <jwe@octave.org>
parents: 19442
diff changeset
121 ** New audio functions and classes:
19069
ff820f92cbb5 inputParser: classdef port of @inputParser from Octave Forge general pkg.
Carnë Draug <carandraug@octave.org>
parents: 19064
diff changeset
122
19716
c2478360291f New functions sound and soundsc
Mike Miller <mtmiller@ieee.org>
parents: 19681
diff changeset
123 audiodevinfo audioread sound
c2478360291f New functions sound and soundsc
Mike Miller <mtmiller@ieee.org>
parents: 19681
diff changeset
124 audioinfo audiorecorder soundsc
19554
9f7a2d75ce1f * NEWS: Mention new audio functions.
John W. Eaton <jwe@octave.org>
parents: 19442
diff changeset
125 audioplayer audiowrite
9f7a2d75ce1f * NEWS: Mention new audio functions.
John W. Eaton <jwe@octave.org>
parents: 19442
diff changeset
126
19679
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
127 ** Other new classes in Octave 4.0:
19554
9f7a2d75ce1f * NEWS: Mention new audio functions.
John W. Eaton <jwe@octave.org>
parents: 19442
diff changeset
128
9f7a2d75ce1f * NEWS: Mention new audio functions.
John W. Eaton <jwe@octave.org>
parents: 19442
diff changeset
129 audioplayer inputParser
19631
db92e7e28e1f strip trailing whitespace from most source files
John W. Eaton <jwe@octave.org>
parents: 19630
diff changeset
130 audiorecorder
19069
ff820f92cbb5 inputParser: classdef port of @inputParser from Octave Forge general pkg.
Carnë Draug <carandraug@octave.org>
parents: 19064
diff changeset
131
19432
9e5b64b3c1fe Fix up documentation for new disable_[range,diagonal_matrix,permutation_matrix] fcns.
Rik <rik@octave.org>
parents: 19420
diff changeset
132 ** Optional stricter Matlab compatibility for ranges, diagonal matrices,
9e5b64b3c1fe Fix up documentation for new disable_[range,diagonal_matrix,permutation_matrix] fcns.
Rik <rik@octave.org>
parents: 19420
diff changeset
133 and permutation matrices.
9e5b64b3c1fe Fix up documentation for new disable_[range,diagonal_matrix,permutation_matrix] fcns.
Rik <rik@octave.org>
parents: 19420
diff changeset
134
9e5b64b3c1fe Fix up documentation for new disable_[range,diagonal_matrix,permutation_matrix] fcns.
Rik <rik@octave.org>
parents: 19420
diff changeset
135 Octave has internal optimizations which use space-efficient storage
9e5b64b3c1fe Fix up documentation for new disable_[range,diagonal_matrix,permutation_matrix] fcns.
Rik <rik@octave.org>
parents: 19420
diff changeset
136 for the three data types above. Three new functions have been added
9e5b64b3c1fe Fix up documentation for new disable_[range,diagonal_matrix,permutation_matrix] fcns.
Rik <rik@octave.org>
parents: 19420
diff changeset
137 which control whether the optimizations are used (default), or whether
9e5b64b3c1fe Fix up documentation for new disable_[range,diagonal_matrix,permutation_matrix] fcns.
Rik <rik@octave.org>
parents: 19420
diff changeset
138 the data types are stored as full matrices.
9e5b64b3c1fe Fix up documentation for new disable_[range,diagonal_matrix,permutation_matrix] fcns.
Rik <rik@octave.org>
parents: 19420
diff changeset
139
9e5b64b3c1fe Fix up documentation for new disable_[range,diagonal_matrix,permutation_matrix] fcns.
Rik <rik@octave.org>
parents: 19420
diff changeset
140 disable_range disable_diagonal_matrix disable_permutation_matrix
9e5b64b3c1fe Fix up documentation for new disable_[range,diagonal_matrix,permutation_matrix] fcns.
Rik <rik@octave.org>
parents: 19420
diff changeset
141
9e5b64b3c1fe Fix up documentation for new disable_[range,diagonal_matrix,permutation_matrix] fcns.
Rik <rik@octave.org>
parents: 19420
diff changeset
142 All three optimizations are disabled if Octave is started with the
9e5b64b3c1fe Fix up documentation for new disable_[range,diagonal_matrix,permutation_matrix] fcns.
Rik <rik@octave.org>
parents: 19420
diff changeset
143 --braindead command line option.
9e5b64b3c1fe Fix up documentation for new disable_[range,diagonal_matrix,permutation_matrix] fcns.
Rik <rik@octave.org>
parents: 19420
diff changeset
144
19679
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
145 ** The preference
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
146
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
147 do_braindead_shortcircuit_evaluation
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
148
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
149 is now enabled by default.
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
150
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
151 ** The preference
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
152
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
153 allow_noninteger_range_as_index
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
154
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
155 is now enabled by default and the warning ID
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
156
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
157 Octave:noninteger-range-as-index
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
158
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
159 is now set to "on" by default instead of "error" by default and "on"
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
160 for --traditional.
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
161
19976
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
162 ** The "backtrace" warning option is now enabled by default. This change
20132
1f9ed81bd173 maint: Fix spelling and grammar mistakes in docs and comments (bug #44878)
Rafael Laboissiere <rafael@laboissiere.net>
parents: 20059
diff changeset
163 was made for Matlab compatibility.
19976
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
164
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
165 ** For compatibility with Matlab, the "ismatrix (x)" function now only checks
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
166 the dimension of "x". The old behaviour of "ismatrix" is obtained by
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
167 "isnumeric (x) || islogical (x) || ischar (x)".
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
168
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
169 ** The nextpow2 function behaviour has been changed for vector inputs.
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
170 Instead of computing `nextpow2 (length (x))', it will now compute
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
171 nextpow2 for each element of the input. This change is Matlab compatible,
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
172 and also prevents bugs for "vectors" of length 1.
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
173
19679
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
174 ** polyeig now returns a row vector of eigenvalues rather than a matrix
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
175 with the eigenvalues on the diagonal. This change was made for Matlab
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
176 compatibility.
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
177
18640
0ede4dbb37f1 Overhaul interp1, interp2, interp3 functions.
Rik <rik@octave.org>
parents: 18614
diff changeset
178 ** Interpolation function changes for Matlab compatibility
0ede4dbb37f1 Overhaul interp1, interp2, interp3 functions.
Rik <rik@octave.org>
parents: 18614
diff changeset
179
0ede4dbb37f1 Overhaul interp1, interp2, interp3 functions.
Rik <rik@octave.org>
parents: 18614
diff changeset
180 The interpolation method 'cubic' is now equivalent to 'pchip'
0ede4dbb37f1 Overhaul interp1, interp2, interp3 functions.
Rik <rik@octave.org>
parents: 18614
diff changeset
181 for interp1, interp2, and interp3. Previously, 'cubic' was equivalent
0ede4dbb37f1 Overhaul interp1, interp2, interp3 functions.
Rik <rik@octave.org>
parents: 18614
diff changeset
182 to 'spline' for interp2. This may produce different results as 'spline'
0ede4dbb37f1 Overhaul interp1, interp2, interp3 functions.
Rik <rik@octave.org>
parents: 18614
diff changeset
183 has continuous 1st and 2nd derivatives while 'pchip' only has a continuous
19328
b80b396e7d54 interp1.m: Add new methods "previous" and "next" (bug #43377).
Nir Krakauer <nkrakauer@ccny.cuny.edu>
parents: 19302
diff changeset
184 1st derivative. The methods 'next' and 'previous' have been added to
b80b396e7d54 interp1.m: Add new methods "previous" and "next" (bug #43377).
Nir Krakauer <nkrakauer@ccny.cuny.edu>
parents: 19302
diff changeset
185 interp1 for compatibility.
18640
0ede4dbb37f1 Overhaul interp1, interp2, interp3 functions.
Rik <rik@octave.org>
parents: 18614
diff changeset
186
19198
ba167badef9f Deprecate delaunay3 and extend delaunay to 3-D inputs.
Rik <rik@octave.org>
parents: 19189
diff changeset
187 ** The delaunay function has been extended to accept 3-D inputs for
ba167badef9f Deprecate delaunay3 and extend delaunay to 3-D inputs.
Rik <rik@octave.org>
parents: 19189
diff changeset
188 Matlab compatibility. The delaunay function no longer plots the
ba167badef9f Deprecate delaunay3 and extend delaunay to 3-D inputs.
Rik <rik@octave.org>
parents: 19189
diff changeset
189 triangulation if no output argument is requested, instead, the
ba167badef9f Deprecate delaunay3 and extend delaunay to 3-D inputs.
Rik <rik@octave.org>
parents: 19189
diff changeset
190 triangulation is always returned. The delaunay3 function which
ba167badef9f Deprecate delaunay3 and extend delaunay to 3-D inputs.
Rik <rik@octave.org>
parents: 19189
diff changeset
191 handles 3-D inputs has been deprecated in favor of delaunay.
ba167badef9f Deprecate delaunay3 and extend delaunay to 3-D inputs.
Rik <rik@octave.org>
parents: 19189
diff changeset
192
19276
ba7e42dea4b2 Fix returned phase of asin, acos outside principal branch (bug #43349).
Rik <rik@octave.org>
parents: 19230
diff changeset
193 ** The trigonometric functions asin and acos return different phase values
ba7e42dea4b2 Fix returned phase of asin, acos outside principal branch (bug #43349).
Rik <rik@octave.org>
parents: 19230
diff changeset
194 from previous versions of Octave when the input is outside the principal
ba7e42dea4b2 Fix returned phase of asin, acos outside principal branch (bug #43349).
Rik <rik@octave.org>
parents: 19230
diff changeset
195 branch ([-1, 1]). If the real portion of the input is greater than 1 then
ba7e42dea4b2 Fix returned phase of asin, acos outside principal branch (bug #43349).
Rik <rik@octave.org>
parents: 19230
diff changeset
196 the limit from below is taken. If the real portion is less than 1 then the
ba7e42dea4b2 Fix returned phase of asin, acos outside principal branch (bug #43349).
Rik <rik@octave.org>
parents: 19230
diff changeset
197 limit from above is taken. This criteria is consistent with several other
ba7e42dea4b2 Fix returned phase of asin, acos outside principal branch (bug #43349).
Rik <rik@octave.org>
parents: 19230
diff changeset
198 numerical analysis software packages.
ba7e42dea4b2 Fix returned phase of asin, acos outside principal branch (bug #43349).
Rik <rik@octave.org>
parents: 19230
diff changeset
199
19764
554aaaf99644 Fix return phase of acosh to match Matlab (bug #44286).
Rik <rik@octave.org>
parents: 19741
diff changeset
200 ** The hyperbolic function acosh now returns values with a phase in the range
554aaaf99644 Fix return phase of acosh to match Matlab (bug #44286).
Rik <rik@octave.org>
parents: 19741
diff changeset
201 [-pi/2, +pi/2]. Previously Octave returned values in the range [0, pi].
554aaaf99644 Fix return phase of acosh to match Matlab (bug #44286).
Rik <rik@octave.org>
parents: 19741
diff changeset
202 This is consistent with several other numerical analysis software packages.
554aaaf99644 Fix return phase of acosh to match Matlab (bug #44286).
Rik <rik@octave.org>
parents: 19741
diff changeset
203
19420
f054112912df Change strfind to return empty array for empty pattern for compatibility (bug #43649).
Rik <rik@octave.org>
parents: 19388
diff changeset
204 ** strfind changes when using empty pattern ("") for Matlab compatibility
f054112912df Change strfind to return empty array for empty pattern for compatibility (bug #43649).
Rik <rik@octave.org>
parents: 19388
diff changeset
205
f054112912df Change strfind to return empty array for empty pattern for compatibility (bug #43649).
Rik <rik@octave.org>
parents: 19388
diff changeset
206 strfind now returns an empty array when the pattern itself is empty.
f054112912df Change strfind to return empty array for empty pattern for compatibility (bug #43649).
Rik <rik@octave.org>
parents: 19388
diff changeset
207 In previous versions of Octave, strfind matched at every character
f054112912df Change strfind to return empty array for empty pattern for compatibility (bug #43649).
Rik <rik@octave.org>
parents: 19388
diff changeset
208 location when the pattern was empty.
f054112912df Change strfind to return empty array for empty pattern for compatibility (bug #43649).
Rik <rik@octave.org>
parents: 19388
diff changeset
209
f054112912df Change strfind to return empty array for empty pattern for compatibility (bug #43649).
Rik <rik@octave.org>
parents: 19388
diff changeset
210 NEW
f054112912df Change strfind to return empty array for empty pattern for compatibility (bug #43649).
Rik <rik@octave.org>
parents: 19388
diff changeset
211 strfind ("abc", "") => []
f054112912df Change strfind to return empty array for empty pattern for compatibility (bug #43649).
Rik <rik@octave.org>
parents: 19388
diff changeset
212 OLD
f054112912df Change strfind to return empty array for empty pattern for compatibility (bug #43649).
Rik <rik@octave.org>
parents: 19388
diff changeset
213 strfind ("abc", "") => [1, 2, 3, 4]
f054112912df Change strfind to return empty array for empty pattern for compatibility (bug #43649).
Rik <rik@octave.org>
parents: 19388
diff changeset
214
18686
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18683
diff changeset
215 ** Integer formats used in the printf family of functions now work for
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18683
diff changeset
216 64-bit integers and are more compatible with Matlab when printing
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18683
diff changeset
217 non-integer values. Now instead of truncating, Octave will switch
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18683
diff changeset
218 the effective format to '%g' in the following circumstances:
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18683
diff changeset
219
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18683
diff changeset
220 * the value of an integer type (int8, uint32, etc.) value exceeds
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18683
diff changeset
221 the maximum for the format specifier. For '%d', the limit is
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18683
diff changeset
222 intmax ('int64') and for '%u' it is intmax ('uint64').
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18683
diff changeset
223
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18683
diff changeset
224 * round(x) != x or the value is outside the range allowed by the
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18683
diff changeset
225 integer format specifier.
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18683
diff changeset
226
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18683
diff changeset
227 There is still one difference: Matlab switches to '%e' and Octave
19976
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
228 switches to '%g'.
18686
3647db1a37d7 NEWS entry for previous printf format changes
John W. Eaton <jwe@octave.org>
parents: 18683
diff changeset
229
20009
72ccbd36e23c Return a column vector by default for Matlab compatibility (bug #44425, bug #44453).
Rik <rik@octave.org>
parents: 20000
diff changeset
230 ** The functions intersect, setdiff, setxor, and union now return a
72ccbd36e23c Return a column vector by default for Matlab compatibility (bug #44425, bug #44453).
Rik <rik@octave.org>
parents: 20000
diff changeset
231 column vector as output unless the input was a row vector. This change
72ccbd36e23c Return a column vector by default for Matlab compatibility (bug #44425, bug #44453).
Rik <rik@octave.org>
parents: 20000
diff changeset
232 was made for Matlab compatibility.
72ccbd36e23c Return a column vector by default for Matlab compatibility (bug #44425, bug #44453).
Rik <rik@octave.org>
parents: 20000
diff changeset
233
20168
bef9086a6725 inpolygon.m: Overhaul function and fix bug #40970.
Rik <rik@octave.org>
parents: 20151
diff changeset
234 ** The inpolygon function now returns true for points that are within
bef9086a6725 inpolygon.m: Overhaul function and fix bug #40970.
Rik <rik@octave.org>
parents: 20151
diff changeset
235 the polygon OR on it's edge. This change was made for Matlab
bef9086a6725 inpolygon.m: Overhaul function and fix bug #40970.
Rik <rik@octave.org>
parents: 20151
diff changeset
236 compatibility.
bef9086a6725 inpolygon.m: Overhaul function and fix bug #40970.
Rik <rik@octave.org>
parents: 20151
diff changeset
237
19292
a4e993343e93 Overhaul the archive family (bzip2, gzip, zip, tar) of m-files.
Rik <rik@octave.org>
parents: 19276
diff changeset
238 ** The archive family of functions (bzip2, gzip, zip, tar) and their
a4e993343e93 Overhaul the archive family (bzip2, gzip, zip, tar) of m-files.
Rik <rik@octave.org>
parents: 19276
diff changeset
239 unpacking routines (bunzip2, gunzip, unzip, untar, unpack) have
a4e993343e93 Overhaul the archive family (bzip2, gzip, zip, tar) of m-files.
Rik <rik@octave.org>
parents: 19276
diff changeset
240 been recoded. Excepting unpack, the default is now to place files
a4e993343e93 Overhaul the archive family (bzip2, gzip, zip, tar) of m-files.
Rik <rik@octave.org>
parents: 19276
diff changeset
241 in the same directory as the archive (on unpack) or as the original
a4e993343e93 Overhaul the archive family (bzip2, gzip, zip, tar) of m-files.
Rik <rik@octave.org>
parents: 19276
diff changeset
242 files (on archiving).
a4e993343e93 Overhaul the archive family (bzip2, gzip, zip, tar) of m-files.
Rik <rik@octave.org>
parents: 19276
diff changeset
243
19976
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
244 ** Qt and FLTK graphics toolkits now support offscreen rendering on Linux.
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
245 In other words, print will work even when the figure visibility is "off".
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
246
18842
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
247 ** Z-order stacking issues with patches, grid lines, and line object
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
248 plot markers for on screen display and printing have all been resolved.
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
249 For 2-D plots the axis grid lines can be placed on top of the plot
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
250 with set (gca, "layer", "top").
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
251
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
252 ** The patch graphic object has been overhauled. It now produces visual
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
253 results equivalent to Matlab even for esoteric combinations of
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
254 faces/vertices/cdata.
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
255
19115
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
256 ** The polar() plot function now draws a circular theta axis and
18842
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
257 radial rho axis rather than using a rectangular x/y axis.
7c6ee4bd7719 NEWS: Update with important changes for 4.2 release.
Rik <rik@octave.org>
parents: 18827
diff changeset
258
18757
e68788478aa1 linkprop.m: Overhaul function for performance and Matlab compatibility.
Rik <rik@octave.org>
parents: 18755
diff changeset
259 ** linkprop has been completely re-coded for performance and Matlab
e68788478aa1 linkprop.m: Overhaul function for performance and Matlab compatibility.
Rik <rik@octave.org>
parents: 18755
diff changeset
260 compatibility. It now returns a linkprop object which must be stored
e68788478aa1 linkprop.m: Overhaul function for performance and Matlab compatibility.
Rik <rik@octave.org>
parents: 18755
diff changeset
261 in a variable for as long as the graphic objects should remain linked.
e68788478aa1 linkprop.m: Overhaul function for performance and Matlab compatibility.
Rik <rik@octave.org>
parents: 18755
diff changeset
262 To unlink properties use 'clear hlink' where hlink is the variable
e68788478aa1 linkprop.m: Overhaul function for performance and Matlab compatibility.
Rik <rik@octave.org>
parents: 18755
diff changeset
263 containing the linkprop object.
e68788478aa1 linkprop.m: Overhaul function for performance and Matlab compatibility.
Rik <rik@octave.org>
parents: 18755
diff changeset
264
19085
3d0f4f4ec688 NEWS: note that isprime now accepts negative and complex inputs.
Rik <rik@octave.org>
parents: 19069
diff changeset
265 ** isprime has been extended to operate on negative and complex inputs.
3d0f4f4ec688 NEWS: note that isprime now accepts negative and complex inputs.
Rik <rik@octave.org>
parents: 19069
diff changeset
266
19223
d70b1cec7743 NEWS: Announce addition of XOR reduction to xor function.
Rik <rik@octave.org>
parents: 19201
diff changeset
267 ** xor has been extended to accept more than two arguments in which case
d70b1cec7743 NEWS: Announce addition of XOR reduction to xor function.
Rik <rik@octave.org>
parents: 19201
diff changeset
268 it performs cumulative XOR reduction.
d70b1cec7743 NEWS: Announce addition of XOR reduction to xor function.
Rik <rik@octave.org>
parents: 19201
diff changeset
269
19198
ba167badef9f Deprecate delaunay3 and extend delaunay to 3-D inputs.
Rik <rik@octave.org>
parents: 19189
diff changeset
270 ** The following functions now support N-dimensional arrays:
ba167badef9f Deprecate delaunay3 and extend delaunay to 3-D inputs.
Rik <rik@octave.org>
parents: 19189
diff changeset
271
20151
33e706b6b7be rectint: fix for non-overlapping rectangle, and support ND boxes (bug #44904)
Carnë Draug <carandraug@octave.org>
parents: 20132
diff changeset
272 fliplr flipud rot90 rectint
19198
ba167badef9f Deprecate delaunay3 and extend delaunay to 3-D inputs.
Rik <rik@octave.org>
parents: 19189
diff changeset
273
19064
9ef10e6a5987 make "file found in path" warnings consistent
John W. Eaton <jwe@octave.org>
parents: 18945
diff changeset
274 ** The new warning ID "Octave:data-file-in-path" replaces the three
9ef10e6a5987 make "file found in path" warnings consistent
John W. Eaton <jwe@octave.org>
parents: 18945
diff changeset
275 previous separate warning IDs "Octave:fopen-file-in-path",
9ef10e6a5987 make "file found in path" warnings consistent
John W. Eaton <jwe@octave.org>
parents: 18945
diff changeset
276 "Octave:load-file-in-path", and "Octave:md5sum-file-in-path".
9ef10e6a5987 make "file found in path" warnings consistent
John W. Eaton <jwe@octave.org>
parents: 18945
diff changeset
277
19976
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
278 ** The warning ID Octave:singular-matrix-div has been replaced by
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
279 Octave:nearly-singular-matrix and Octave:singular-matrix.
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
280
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
281 ** The warning ID Octave:matlab-incompatible has been replaced by
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
282 Octave:language-extension to better reflect its meaning.
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
283
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
284 ** The warning ID Octave:broadcast has been removed. Instead automatic
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
285 broadcasting will throw an Octave:language-extension warning. This
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
286 warning ID is used for broadcasting as well as other features not
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
287 available in Matlab.
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
288
19679
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
289 ** Other new functions added in 4.0:
18109
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18107
diff changeset
290
19775
b8e4104a8f55 Add the annotation function (bug #43282)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 19764
diff changeset
291 annotation
19115
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
292 bandwidth
19564
5ab6fcf32d1e New function for colormap cubehelix.
Carnë Draug <carandraug@octave.org>
parents: 19554
diff changeset
293 cubehelix
19115
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
294 dir_in_loadpath
19160
995df67fc912 Flip arrays - ND support for fliplr and flipud, and replace flipdim with flip.
Carnë Draug <carandraug+dev@gmail.com>
parents: 19156
diff changeset
295 flip
19346
39a69f54417e New functions im2frame and frame2im.
Carnë Draug <carandraug@octave.org>
parents: 19328
diff changeset
296 frame2im
20059
cf9b94a89620 Document get_home_directory in Octave manual and NEWS file.
Rik <rik@octave.org>
parents: 20009
diff changeset
297 get_home_directory
19115
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
298 hgload
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
299 hgsave
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
300 ichol
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
301 ilu
19346
39a69f54417e New functions im2frame and frame2im.
Carnë Draug <carandraug@octave.org>
parents: 19328
diff changeset
302 im2frame
19115
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
303 isbanded
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
304 isdiag
19976
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
305 isstudent
19115
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
306 istril
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
307 istriu
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
308 javachk
19976
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
309 jit_failcnt
19115
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
310 linkaxes
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
311 lscov
19976
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
312 metaclass
19115
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
313 numfields
19976
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
314 open
19781
56157a7505ed Add new ordschur function.
Sébastien Villemot <sebastien@debian.org>
parents: 19775
diff changeset
315 ordschur
19976
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
316 pan
19388
cc6000ccd627 New function qmr (patch #8569).
Nathan Podlich <nathan.podlich@gmail.com>
parents: 19346
diff changeset
317 qmr
19115
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
318 rotate
19976
b5479bbc3727 NEWS: Update NEWS file for 4.0 release.
Rik <rik@octave.org>
parents: 19886
diff changeset
319 rotate3d
19115
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
320 sylvester
19201
6f0290863d50 Add new function unsetenv from gnulib to Octave.
Rik <rik@octave.org>
parents: 19198
diff changeset
321 unsetenv
19679
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
322 validateattributes
19123
8a6f87637c16 hg new function, zoom
John W. Eaton <jwe@octave.org>
parents: 19115
diff changeset
323 zoom
18109
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18107
diff changeset
324
19156
c43223245085 doc: Add warnings about eventual removal of inline functions.
Rik <rik@octave.org>
parents: 19153
diff changeset
325 ** inline() scheduled for eventual deprecation by Matlab
c43223245085 doc: Add warnings about eventual removal of inline functions.
Rik <rik@octave.org>
parents: 19153
diff changeset
326
c43223245085 doc: Add warnings about eventual removal of inline functions.
Rik <rik@octave.org>
parents: 19153
diff changeset
327 Functions created through the use of inline are scheduled for deprecation
c43223245085 doc: Add warnings about eventual removal of inline functions.
Rik <rik@octave.org>
parents: 19153
diff changeset
328 by Matlab. When this occurs Octave will continue to support inline
c43223245085 doc: Add warnings about eventual removal of inline functions.
Rik <rik@octave.org>
parents: 19153
diff changeset
329 functions for an indeterminate amount of time before also removing support.
19631
db92e7e28e1f strip trailing whitespace from most source files
John W. Eaton <jwe@octave.org>
parents: 19630
diff changeset
330 All new code should use anonymous functions in place of inline functions.
19156
c43223245085 doc: Add warnings about eventual removal of inline functions.
Rik <rik@octave.org>
parents: 19153
diff changeset
331
18109
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18107
diff changeset
332 ** Deprecated functions.
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18107
diff changeset
333
19679
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
334 The following functions have been deprecated in Octave 4.0 and will
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
335 be removed from Octave 4.4 (or whatever version is the second major
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
336 release after 4.0):
18538
fcd87f68af4f Deprecate nfields and replace with numfields.
Rik <rik@octave.org>
parents: 18131
diff changeset
337
19302
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19292
diff changeset
338 Function | Replacement
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19292
diff changeset
339 ---------------------|------------------
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19292
diff changeset
340 bicubic | interp2
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19292
diff changeset
341 delaunay3 | delaunay
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19292
diff changeset
342 dump_prefs | individual preference get/set routines
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19292
diff changeset
343 find_dir_in_path | dir_in_loadpath
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19292
diff changeset
344 finite | isfinite
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19292
diff changeset
345 fmod | rem
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19292
diff changeset
346 fnmatch | glob or regexp
20535
caa5de39147e maint: Complete deprecation of gmap40 colormap.
Rik <rik@octave.org>
parents: 20315
diff changeset
347 gmap40 | ----
19681
0165d9607624 Deprecate audio functions loadaudio, playaudio, saveaudio, and setaudio.
Mike Miller <mtmiller@ieee.org>
parents: 19679
diff changeset
348 loadaudio | audioread
19302
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19292
diff changeset
349 luinc | ilu or ichol
19794
47440b762547 bring back mouse_wheel_zoom function as deprecated
John W. Eaton <jwe@octave.org>
parents: 19781
diff changeset
350 mouse_wheel_zoom | mousewheelzoom axes property
19302
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19292
diff changeset
351 nfields | numfields
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19292
diff changeset
352 octave_tmp_file_name | tempname
19681
0165d9607624 Deprecate audio functions loadaudio, playaudio, saveaudio, and setaudio.
Mike Miller <mtmiller@ieee.org>
parents: 19679
diff changeset
353 playaudio | audioplayer
0165d9607624 Deprecate audio functions loadaudio, playaudio, saveaudio, and setaudio.
Mike Miller <mtmiller@ieee.org>
parents: 19679
diff changeset
354 saveaudio | audiowrite
19302
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19292
diff changeset
355 syl | sylvester
e5a1e7951908 Deprecate octave_tmp_file_name.
Rik <rik@octave.org>
parents: 19292
diff changeset
356 usage | print_usage
18538
fcd87f68af4f Deprecate nfields and replace with numfields.
Rik <rik@octave.org>
parents: 18131
diff changeset
357
19679
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
358 allow_noninteger_range_as_index
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
359 do_braindead_shortcircuit_evaluation
19681
0165d9607624 Deprecate audio functions loadaudio, playaudio, saveaudio, and setaudio.
Mike Miller <mtmiller@ieee.org>
parents: 19679
diff changeset
360 setaudio
19679
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
361
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
362 ** The following functions were deprecated in Octave 3.8 and will be
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
363 removed from Octave 4.2 (or whatever version is the second major
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
364 release after 3.8):
18109
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18107
diff changeset
365
19115
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
366 default_save_options java_new
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
367 gen_doc_cache java_unsigned_conversion
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
368 interp1q javafields
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
369 isequalwithequalnans javamethods
18945
d1c649bd90e9 maint: Periodic merge of gui-release to default.
Rik <rik@octave.org>
parents: 18938 18944
diff changeset
370 java_convert_matrix re_read_readline_init_file
19115
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
371 java_debug read_readline_init_file
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
372 java_invoke saving_history
d59d052c9858 rotate.m: new function
John W. Eaton <jwe@octave.org>
parents: 19105
diff changeset
373
19679
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
374 ** The following functions were deprecated in Octave 3.6 and have been
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
375 removed from Octave 4.0.
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
376
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
377 cut polyderiv
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
378 cor shell_cmd
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
379 corrcoef studentize
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
380 __error_text__ sylvester_matrix
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
381 error_text
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
382
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
383 ** The following keywords were deprecated in Octave 3.8 and have been
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
384 removed from Octave 4.0
18109
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18107
diff changeset
385
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18107
diff changeset
386 static
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18107
diff changeset
387
19679
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
388 ** The following configuration variables were deprecated in Octave 3.8
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
389 and have been removed from Octave 4.0
18109
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18107
diff changeset
390
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18107
diff changeset
391 CC_VERSION (now GCC_VERSION)
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18107
diff changeset
392 CXX_VERSION (now GXX_VERSION)
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18107
diff changeset
393
19679
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
394 ** The internal function atan2 of the sparse matrix class has been deprecated
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
395 in Octave 4.0 and will be removed from Octave 4.4 (or whatever version is
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
396 the second major release after 4.0). Use the Fatan2 function with sparse
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
397 inputs as a replacement.
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
398
20315
077e73619ba8 Allow NEWS to be displayed properly in QTextBrowser (bug #45396)
John W. Eaton <jwe@octave.org>
parents: 20168
diff changeset
399 ** The internal class Octave_map was deprecated in Octave 3.8 and has
19679
ebd27d8c63fd update default branch to release as 4.0
John W. Eaton <jwe@octave.org>
parents: 19632
diff changeset
400 been removed from Octave 4.0. Replacement classes are
20315
077e73619ba8 Allow NEWS to be displayed properly in QTextBrowser (bug #45396)
John W. Eaton <jwe@octave.org>
parents: 20168
diff changeset
401 octave_map (struct array) or octave_scalar_map for a single structure.
18109
2217bc116aa9 maint: Dummy merge with gui-release, ignoring all recent backout merges
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 18107
diff changeset
402
19632
76478d2da117 unconditionally disable the octave_allocator class
John W. Eaton <jwe@octave.org>
parents: 19631
diff changeset
403 ** The configure option --enable-octave-allocator has been removed.
20315
077e73619ba8 Allow NEWS to be displayed properly in QTextBrowser (bug #45396)
John W. Eaton <jwe@octave.org>
parents: 20168
diff changeset
404 The internal class octave_allocator declared in oct-alloc.h has
19632
76478d2da117 unconditionally disable the octave_allocator class
John W. Eaton <jwe@octave.org>
parents: 19631
diff changeset
405 been removed. The header remains, but is deprecated. The macros to
76478d2da117 unconditionally disable the octave_allocator class
John W. Eaton <jwe@octave.org>
parents: 19631
diff changeset
406 access the class (DECLARE_OCTAVE_ALLOCATOR, DEFINE_OCTAVE_ALLOCATOR,
76478d2da117 unconditionally disable the octave_allocator class
John W. Eaton <jwe@octave.org>
parents: 19631
diff changeset
407 and DEFINE_OCTAVE_ALLOCATOR2) are now unconditionally defined to be
76478d2da117 unconditionally disable the octave_allocator class
John W. Eaton <jwe@octave.org>
parents: 19631
diff changeset
408 empty.
76478d2da117 unconditionally disable the octave_allocator class
John W. Eaton <jwe@octave.org>
parents: 19631
diff changeset
409
19850
81078b0e39e8 build: Enable OpenMP by default, remove experimental warning (bug #42176)
Mike Miller <mtmiller@ieee.org>
parents: 19822
diff changeset
410 ** Octave now has OpenMP enabled by default if the system provides a
81078b0e39e8 build: Enable OpenMP by default, remove experimental warning (bug #42176)
Mike Miller <mtmiller@ieee.org>
parents: 19822
diff changeset
411 working OpenMP implementation. This allows oct-file modules to take
81078b0e39e8 build: Enable OpenMP by default, remove experimental warning (bug #42176)
Mike Miller <mtmiller@ieee.org>
parents: 19822
diff changeset
412 advantage of OpenMP if desired. This can be disabled when building
81078b0e39e8 build: Enable OpenMP by default, remove experimental warning (bug #42176)
Mike Miller <mtmiller@ieee.org>
parents: 19822
diff changeset
413 Octave with the configure option --disable-openmp.
81078b0e39e8 build: Enable OpenMP by default, remove experimental warning (bug #42176)
Mike Miller <mtmiller@ieee.org>
parents: 19822
diff changeset
414
20000
d20dd211cc89 Enable float truncation by default for octave builds.
Rik <rik@octave.org>
parents: 19993
diff changeset
415 ** Octave now automatically truncates intermediate calculations done with
d20dd211cc89 Enable float truncation by default for octave builds.
Rik <rik@octave.org>
parents: 19993
diff changeset
416 floating point values to 64 bits. Some hardware math co-processors, such
d20dd211cc89 Enable float truncation by default for octave builds.
Rik <rik@octave.org>
parents: 19993
diff changeset
417 as the x87, maintain extra precision, but this leads to disagreements in
d20dd211cc89 Enable float truncation by default for octave builds.
Rik <rik@octave.org>
parents: 19993
diff changeset
418 calculations when compared to reference implementations in software using
d20dd211cc89 Enable float truncation by default for octave builds.
Rik <rik@octave.org>
parents: 19993
diff changeset
419 the IEEE standard for double precision. There was no measurable
d20dd211cc89 Enable float truncation by default for octave builds.
Rik <rik@octave.org>
parents: 19993
diff changeset
420 performance impact to this change, but it may be disabled with the
d20dd211cc89 Enable float truncation by default for octave builds.
Rik <rik@octave.org>
parents: 19993
diff changeset
421 configure option --disable-float-truncate. MinGW and Cygwin platforms,
d20dd211cc89 Enable float truncation by default for octave builds.
Rik <rik@octave.org>
parents: 19993
diff changeset
422 as well as GCC compilers >= 5.0 require this feature. Non-x87 hardware,
d20dd211cc89 Enable float truncation by default for octave builds.
Rik <rik@octave.org>
parents: 19993
diff changeset
423 or hardware using SSE options exclusively, can disable float truncation
d20dd211cc89 Enable float truncation by default for octave builds.
Rik <rik@octave.org>
parents: 19993
diff changeset
424 if desired.
d20dd211cc89 Enable float truncation by default for octave builds.
Rik <rik@octave.org>
parents: 19993
diff changeset
425
9352
b59cc3252a51 NEWS update
Jaroslav Hajek <highegg@gmail.com>
parents: 9215
diff changeset
426 ---------------------------------------------------------
b59cc3252a51 NEWS update
Jaroslav Hajek <highegg@gmail.com>
parents: 9215
diff changeset
427
7990
86dae6e5b83c Initial update of NEWS for 3.2 release
David Bateman <dbateman@free.fr>
parents: 7279
diff changeset
428 See NEWS.3 for old news.