annotate pages/NEWS-4.0.md @ 271:3ce19581b946

LICENSE: Add "GPL-3.0-or-later" for code
author Kai Torben Ohlhus <k.ohlhus@gmail.com>
date Mon, 21 Feb 2022 17:32:38 +0900
parents e69093ab4992
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
215
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
1 ---
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
2 layout: page
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
3 title: GNU Octave Version 4.0
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
4 permalink: NEWS-4.0.html
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
5 ---
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
6
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
7 ## Summary of important user-visible changes
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
8
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
9 May 23, 2015
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
10
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
11 {% include release_news_select.md %}
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
12
224
e69093ab4992 Improve Release Notes display.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 216
diff changeset
13 {::options parse_block_html="true" /}
e69093ab4992 Improve Release Notes display.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 216
diff changeset
14 <div class="panel callout">
e69093ab4992 Improve Release Notes display.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 216
diff changeset
15 * TOC
e69093ab4992 Improve Release Notes display.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 216
diff changeset
16 {:toc}
e69093ab4992 Improve Release Notes display.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 216
diff changeset
17 </div>
e69093ab4992 Improve Release Notes display.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 216
diff changeset
18 {::options parse_block_html="false" /}
e69093ab4992 Improve Release Notes display.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 216
diff changeset
19
e69093ab4992 Improve Release Notes display.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 216
diff changeset
20
215
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
21 <pre>
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
22 ** A graphical user interface is now the default when running Octave
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
23 interactively. The start-up option --no-gui will run the familiar
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
24 command line interface, and still allows use of the GUI dialogs and
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
25 qt plotting toolkit. The option --no-gui-libs runs a minimalist
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
26 command line interface that does not link with the Qt libraries and
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
27 uses the fltk toolkit for plotting.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
28
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
29 ** Octave now uses OpenGL graphics with Qt widgets by default. If OpenGL
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
30 libraries are not available when Octave is built, gnuplot is used.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
31 You may choose to use the fltk or gnuplot toolkit for graphics by
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
32 executing the command
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
33
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
34 graphics_toolkit ("fltk")
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
35 OR
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
36 graphics_toolkit ("gnuplot")
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
37
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
38 Adding such a command to your ~/.octaverc file will set the default
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
39 for each session.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
40
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
41 ** A new syntax for object oriented programming termed classdef has been
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
42 introduced. See the manual for more extensive documentation of the
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
43 classdef interface.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
44
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
45 New keywords:
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
46
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
47 classdef endclassdef
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
48 enumeration endenumeration
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
49 events endevents
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
50 methods endmethods
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
51 properties endproperties
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
52
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
53 ** New audio functions and classes:
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
54
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
55 audiodevinfo audioread sound
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
56 audioinfo audiorecorder soundsc
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
57 audioplayer audiowrite
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
58
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
59 ** Other new classes in Octave 4.0:
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
60
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
61 audioplayer inputParser
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
62 audiorecorder
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
63
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
64 ** Optional stricter Matlab compatibility for ranges, diagonal matrices,
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
65 and permutation matrices.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
66
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
67 Octave has internal optimizations which use space-efficient storage
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
68 for the three data types above. Three new functions have been added
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
69 which control whether the optimizations are used (default), or whether
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
70 the data types are stored as full matrices.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
71
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
72 disable_range disable_diagonal_matrix disable_permutation_matrix
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
73
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
74 All three optimizations are disabled if Octave is started with the
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
75 --braindead command line option.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
76
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
77 ** The preference
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
78
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
79 do_braindead_shortcircuit_evaluation
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
80
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
81 is now enabled by default.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
82
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
83 ** The preference
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
84
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
85 allow_noninteger_range_as_index
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
86
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
87 is now enabled by default and the warning ID
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
88
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
89 Octave:noninteger-range-as-index
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
90
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
91 is now set to "on" by default instead of "error" by default and "on"
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
92 for --traditional.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
93
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
94 ** The "backtrace" warning option is now enabled by default. This change
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
95 was made for Matlab compatibility.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
96
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
97 ** For compatibility with Matlab, the "ismatrix (x)" function now only checks
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
98 the dimension of "x". The old behaviour of "ismatrix" is obtained by
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
99 "isnumeric (x) || islogical (x) || ischar (x)".
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
100
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
101 ** The nextpow2 function behaviour has been changed for vector inputs.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
102 Instead of computing `nextpow2 (length (x))', it will now compute
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
103 nextpow2 for each element of the input. This change is Matlab compatible,
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
104 and also prevents bugs for "vectors" of length 1.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
105
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
106 ** polyeig now returns a row vector of eigenvalues rather than a matrix
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
107 with the eigenvalues on the diagonal. This change was made for Matlab
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
108 compatibility.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
109
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
110 ** Interpolation function changes for Matlab compatibility
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
111
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
112 The interpolation method 'cubic' is now equivalent to 'pchip'
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
113 for interp1, interp2, and interp3. Previously, 'cubic' was equivalent
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
114 to 'spline' for interp2. This may produce different results as 'spline'
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
115 has continuous 1st and 2nd derivatives while 'pchip' only has a continuous
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
116 1st derivative. The methods 'next' and 'previous' have been added to
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
117 interp1 for compatibility.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
118
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
119 ** The delaunay function has been extended to accept 3-D inputs for
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
120 Matlab compatibility. The delaunay function no longer plots the
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
121 triangulation if no output argument is requested, instead, the
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
122 triangulation is always returned. The delaunay3 function which
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
123 handles 3-D inputs has been deprecated in favor of delaunay.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
124
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
125 ** The trigonometric functions asin and acos return different phase values
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
126 from previous versions of Octave when the input is outside the principal
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
127 branch ([-1, 1]). If the real portion of the input is greater than 1 then
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
128 the limit from below is taken. If the real portion is less than 1 then the
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
129 limit from above is taken. This criteria is consistent with several other
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
130 numerical analysis software packages.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
131
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
132 ** The hyperbolic function acosh now returns values with a phase in the range
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
133 [-pi/2, +pi/2]. Previously Octave returned values in the range [0, pi].
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
134 This is consistent with several other numerical analysis software packages.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
135
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
136 ** strfind changes when using empty pattern ("") for Matlab compatibility
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
137
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
138 strfind now returns an empty array when the pattern itself is empty.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
139 In previous versions of Octave, strfind matched at every character
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
140 location when the pattern was empty.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
141
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
142 NEW
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
143 strfind ("abc", "") => []
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
144 OLD
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
145 strfind ("abc", "") => [1, 2, 3, 4]
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
146
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
147 ** Integer formats used in the printf family of functions now work for
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
148 64-bit integers and are more compatible with Matlab when printing
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
149 non-integer values. Now instead of truncating, Octave will switch
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
150 the effective format to '%g' in the following circumstances:
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
151
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
152 * the value of an integer type (int8, uint32, etc.) value exceeds
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
153 the maximum for the format specifier. For '%d', the limit is
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
154 intmax ('int64') and for '%u' it is intmax ('uint64').
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
155
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
156 * round(x) != x or the value is outside the range allowed by the
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
157 integer format specifier.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
158
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
159 There is still one difference: Matlab switches to '%e' and Octave
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
160 switches to '%g'.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
161
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
162 ** The functions intersect, setdiff, setxor, and union now return a
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
163 column vector as output unless the input was a row vector. This change
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
164 was made for Matlab compatibility.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
165
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
166 ** The inpolygon function now returns true for points that are within
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
167 the polygon OR on it's edge. This change was made for Matlab
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
168 compatibility.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
169
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
170 ** The archive family of functions (bzip2, gzip, zip, tar) and their
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
171 unpacking routines (bunzip2, gunzip, unzip, untar, unpack) have
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
172 been recoded. Excepting unpack, the default is now to place files
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
173 in the same directory as the archive (on unpack) or as the original
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
174 files (on archiving).
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
175
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
176 ** Qt and FLTK graphics toolkits now support offscreen rendering on Linux.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
177 In other words, print will work even when the figure visibility is "off".
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
178
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
179 ** Z-order stacking issues with patches, grid lines, and line object
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
180 plot markers for on screen display and printing have all been resolved.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
181 For 2-D plots the axis grid lines can be placed on top of the plot
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
182 with set (gca, "layer", "top").
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
183
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
184 ** The patch graphic object has been overhauled. It now produces visual
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
185 results equivalent to Matlab even for esoteric combinations of
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
186 faces/vertices/cdata.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
187
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
188 ** The polar() plot function now draws a circular theta axis and
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
189 radial rho axis rather than using a rectangular x/y axis.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
190
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
191 ** linkprop has been completely re-coded for performance and Matlab
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
192 compatibility. It now returns a linkprop object which must be stored
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
193 in a variable for as long as the graphic objects should remain linked.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
194 To unlink properties use 'clear hlink' where hlink is the variable
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
195 containing the linkprop object.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
196
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
197 ** isprime has been extended to operate on negative and complex inputs.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
198
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
199 ** xor has been extended to accept more than two arguments in which case
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
200 it performs cumulative XOR reduction.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
201
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
202 ** The following functions now support N-dimensional arrays:
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
203
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
204 fliplr flipud rot90 rectint
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
205
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
206 ** The new warning ID "Octave:data-file-in-path" replaces the three
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
207 previous separate warning IDs "Octave:fopen-file-in-path",
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
208 "Octave:load-file-in-path", and "Octave:md5sum-file-in-path".
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
209
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
210 ** The warning ID Octave:singular-matrix-div has been replaced by
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
211 Octave:nearly-singular-matrix and Octave:singular-matrix.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
212
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
213 ** The warning ID Octave:matlab-incompatible has been replaced by
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
214 Octave:language-extension to better reflect its meaning.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
215
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
216 ** The warning ID Octave:broadcast has been removed. Instead automatic
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
217 broadcasting will throw an Octave:language-extension warning. This
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
218 warning ID is used for broadcasting as well as other features not
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
219 available in Matlab.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
220
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
221 ** Other new functions added in 4.0:
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
222
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
223 annotation
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
224 bandwidth
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
225 cubehelix
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
226 dir_in_loadpath
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
227 flip
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
228 frame2im
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
229 get_home_directory
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
230 hgload
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
231 hgsave
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
232 ichol
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
233 ilu
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
234 im2frame
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
235 isbanded
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
236 isdiag
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
237 isstudent
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
238 istril
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
239 istriu
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
240 javachk
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
241 jit_failcnt
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
242 linkaxes
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
243 lscov
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
244 metaclass
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
245 numfields
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
246 open
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
247 ordschur
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
248 pan
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
249 qmr
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
250 rotate
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
251 rotate3d
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
252 sylvester
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
253 unsetenv
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
254 validateattributes
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
255 zoom
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
256
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
257 ** inline() scheduled for eventual deprecation by Matlab
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
258
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
259 Functions created through the use of inline are scheduled for deprecation
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
260 by Matlab. When this occurs Octave will continue to support inline
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
261 functions for an indeterminate amount of time before also removing support.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
262 All new code should use anonymous functions in place of inline functions.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
263
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
264 ** Deprecated functions.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
265
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
266 The following functions have been deprecated in Octave 4.0 and will
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
267 be removed from Octave 4.4 (or whatever version is the second major
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
268 release after 4.0):
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
269
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
270 Function | Replacement
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
271 ---------------------|------------------
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
272 bicubic | interp2
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
273 delaunay3 | delaunay
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
274 dump_prefs | individual preference get/set routines
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
275 find_dir_in_path | dir_in_loadpath
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
276 finite | isfinite
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
277 fmod | rem
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
278 fnmatch | glob or regexp
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
279 loadaudio | audioread
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
280 luinc | ilu or ichol
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
281 mouse_wheel_zoom | mousewheelzoom axes property
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
282 nfields | numfields
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
283 octave_tmp_file_name | tempname
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
284 playaudio | audioplayer
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
285 saveaudio | audiowrite
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
286 syl | sylvester
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
287 usage | print_usage
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
288
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
289 allow_noninteger_range_as_index
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
290 do_braindead_shortcircuit_evaluation
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
291 setaudio
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
292
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
293 ** The following functions were deprecated in Octave 3.8 and will be
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
294 removed from Octave 4.2 (or whatever version is the second major
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
295 release after 3.8):
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
296
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
297 default_save_options java_new
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
298 gen_doc_cache java_unsigned_conversion
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
299 interp1q javafields
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
300 isequalwithequalnans javamethods
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
301 java_convert_matrix re_read_readline_init_file
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
302 java_debug read_readline_init_file
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
303 java_invoke saving_history
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
304
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
305 ** The following functions were deprecated in Octave 3.6 and have been
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
306 removed from Octave 4.0.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
307
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
308 cut polyderiv
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
309 cor shell_cmd
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
310 corrcoef studentize
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
311 __error_text__ sylvester_matrix
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
312 error_text
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
313
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
314 ** The following keywords were deprecated in Octave 3.8 and have been
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
315 removed from Octave 4.0
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
316
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
317 static
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
318
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
319 ** The following configuration variables were deprecated in Octave 3.8
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
320 and have been removed from Octave 4.0
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
321
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
322 CC_VERSION (now GCC_VERSION)
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
323 CXX_VERSION (now GXX_VERSION)
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
324
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
325 ** The internal function atan2 of the sparse matrix class has been deprecated
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
326 in Octave 4.0 and will be removed from Octave 4.4 (or whatever version is
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
327 the second major release after 4.0). Use the Fatan2 function with sparse
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
328 inputs as a replacement.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
329
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
330 ** The internal class Octave_map was deprecated in Octave 3.8 and has
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
331 been removed from Octave 4.0. Replacement classes are
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
332 octave_map (struct array) or octave_scalar_map for a single structure.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
333
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
334 ** The configure option --enable-octave-allocator has been removed.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
335 The internal class octave_allocator declared in oct-alloc.h has
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
336 been removed. The header remains, but is deprecated. The macros to
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
337 access the class (DECLARE_OCTAVE_ALLOCATOR, DEFINE_OCTAVE_ALLOCATOR,
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
338 and DEFINE_OCTAVE_ALLOCATOR2) are now unconditionally defined to be
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
339 empty.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
340
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
341 ** Octave now has OpenMP enabled by default if the system provides a
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
342 working OpenMP implementation. This allows oct-file modules to take
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
343 advantage of OpenMP if desired. This can be disabled when building
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
344 Octave with the configure option --disable-openmp.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
345
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
346 ** Octave now automatically truncates intermediate calculations done with
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
347 floating point values to 64 bits. Some hardware math co-processors, such
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
348 as the x87, maintain extra precision, but this leads to disagreements in
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
349 calculations when compared to reference implementations in software using
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
350 the IEEE standard for double precision. There was no measurable
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
351 performance impact to this change, but it may be disabled with the
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
352 configure option --disable-float-truncate. MinGW and Cygwin platforms,
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
353 as well as GCC compilers >= 5.0 require this feature. Non-x87 hardware,
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
354 or hardware using SSE options exclusively, can disable float truncation
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
355 if desired.
dedb85c54245 Reorganize homepage.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
356 </pre>