comparison pages/NEWS-4.4.md @ 215:dedb85c54245

Reorganize homepage.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Thu, 10 Sep 2020 17:47:36 +0900
parents
children c8126c010d67
comparison
equal deleted inserted replaced
214:fe5dcb23372a 215:dedb85c54245
1 ---
2 layout: page
3 title: GNU Octave Version 4.4
4 menu: false
5 permalink: NEWS-4.4.html
6 ---
7
8 ## Summary of important user-visible changes
9
10 April 30, 2018
11
12 {% include release_news_select.md %}
13
14 <pre>
15 ** A graphical Variable Editor has been added to the GUI interface.
16 It uses a spreadsheet-like interface for quick, intuitive editing
17 of variables. The Variable Editor is launched by double-clicking
18 on a variable name in the Workspace Window or by typing
19 "openvar VARIABLE_NAME" in the Command Window.
20
21 ** On systems with 64-bit pointers, --enable-64 is now the default and
22 Octave always uses 64-bit indexing. However, if the configure
23 script determines that the BLAS library uses 32-bit integers, then
24 operations using the following libraries are limited to arrays with
25 dimensions that are smaller than 2^31 elements:
26
27 BLAS LAPACK QRUPDATE SuiteSparse ARPACK
28
29 Additionally, the following libraries use "int" internally, so
30 maximum problem sizes are always limited:
31
32 glpk Qhull
33
34 ** The octave command no longer starts the GUI by default. Most users
35 starting Octave from a shell were expecting the command line
36 interface, and desktop launchers already required the `--force-gui'
37 option. With this change, desktop launchers should be modified to
38 use the new option `--gui'. The previous `--force-gui' option will
39 continue to work, and maps to `--gui', but it will be removed in
40 Octave 6.
41
42 ** A known bug in Qt (https://bugreports.qt.io/browse/QTBUG-55357) is
43 addressed by limiting GUI sub-panel relocation capabilities for Qt
44 versions in the range >= 5.6.1 and < 5.7.1. However, this may not
45 thoroughly avoid issues on all platforms.
46
47 ** A new container data type--containers.Map--is available. Map is a
48 key/value storage container (a.k.a, a hash) that efficiently allows
49 storing and retrieving values by name, rather than by position which
50 is how arrays work.
51
52 ** The bareword "import" is now recognized in scripts and functions.
53 However, the functionality to import functions and classes from
54 other namespaces into the local scope has not yet been implemented.
55 Attempting to use "import" will provoke an error message.
56
57 ** hex2num and num2hex now work for integer and char types and num2hex
58 may optionally return a cell array of strings instead of a character
59 array. If given a cell array of strings, hex2num now returns a
60 numeric array of the same size as the input cell array. Previously,
61 hex2num would accept a cell array of strings of arbitrary dimension
62 but would always return a column vector.
63
64 ** New special functions cosint, sinint, and gammaincinv have been added.
65
66 ** Special functions in Octave have been rewritten for larger input
67 domains, better accuracy, and additional options.
68 * gammainc now accepts negative real values for X.
69 * improved accuracy for gammainc, betainc, betaincinv, expint.
70 * gammainc has new options "scaledlower" and "scaledupper".
71 * betainc, betaincinv have new option "upper".
72
73 ** The "names" option used in regular expressions now returns a struct
74 array, rather than a struct with a cell array for each field. This
75 change was made for Matlab compatibility.
76
77 ** The quadcc function now uses both absolute tolerance and relative
78 tolerance to determine the stopping criteria for an integration.
79 To be compatible with other quadXXX functions, such as quadgk, the
80 calling syntax has changed to
81
82 quadcc (f, a, b, [AbsTol, [RelTol]])
83
84 To update existing code, change instances of RelTol to [0, RelTol].
85
86 quadcc (f, a, b, tol) => quadcc (f, a, b, [0, tol])
87
88 A warning that a single tolerance input is now interpreted as an
89 absolute tolerance will be issued in Octave versions 4.4 and 5,
90 after which it will be removed. The warning has ID
91 "Octave:quadcc:RelTol-conversion" and can be disabled with
92
93 warning ("off", "Octave:quadcc:RelTol-conversion")
94
95 ** The qr function now returns a standard factorization unless
96 explicitly instructed to perform an economy factorization by using a
97 final argument of 0.
98
99 ** The Qt graphics toolkit now supports offscreen printing without osmesa
100 if Octave was built with Qt >= 5.1.
101
102 ** The built-in pager for display of large data is now disabled by
103 default. To re-enable it for every Octave session add the following
104 to your .octaverc file:
105
106 more on;
107
108 ** The FLTK toolkit is no longer prioritized for development. The
109 number of Octave Maintainers is too small to support three different
110 graphic toolkits. New development will target the Qt toolkit.
111 While no longer prioritized, the FLTK toolkit is not deprecated and
112 there is no schedule for its removal.
113
114 ** The graphic object property "PickableParts" has been implemented
115 which controls whether an object can accept mouse clicks.
116
117 ** The graphic object property "Interruptible" has been fully
118 implemented which controls whether a running callback function can
119 be interrupted by another callback function.
120
121 ** The graphic object property "HitTest" has been updated to be fully
122 compatible with Matlab.
123
124 ** Text objects now implement the properties "BackgroundColor",
125 "EdgeColor", "LineStyle", "LineWidth", and "Margin".
126
127 ** An initial implementation of alpha transparency has been made for
128 patch and surface objects. Printing to svg and pdf is supported.
129
130 ** ishandle now returns true for both graphics handle objects and
131 Java objects. The latter change was made for Matlab compatibility.
132 Use ishghandle or isgraphics if it is important not to include Java
133 objects.
134
135 ** The pkg command now accepts a URL as an argument, allowing a valid
136 Octave package to be installed from any remote host with one command,
137 for example
138
139 pkg install https://example.org/download/example-package.tar.gz
140
141 ** The following statistical functions have been moved from core
142 Octave to the statistics package available from Octave Forge.
143
144 BASE
145 cloglog
146 logit
147 prctile
148 probit
149 qqplot
150 table (renamed to crosstab)
151
152 DISTRIBUTIONS
153 betacdf
154 betainv
155 betapdf
156 betarnd
157 binocdf
158 binoinv
159 binopdf
160 binornd
161 cauchy_cdf
162 cauchy_inv
163 cauchy_pdf
164 cauchy_rnd
165 chi2cdf
166 chi2inv
167 chi2pdf
168 chi2rnd
169 expcdf
170 expinv
171 exppdf
172 exprnd
173 fcdf
174 finv
175 fpdf
176 frnd
177 gamcdf
178 gaminv
179 gampdf
180 gamrnd
181 geocdf
182 geoinv
183 geopdf
184 geornd
185 hygecdf
186 hygeinv
187 hygepdf
188 hygernd
189 kolmogorov_smirnov_cdf
190 laplace_cdf
191 laplace_inv
192 laplace_pdf
193 laplace_rnd
194 logistic_cdf
195 logistic_inv
196 logistic_pdf
197 logistic_rnd
198 logncdf
199 logninv
200 lognpdf
201 lognrnd
202 nbincdf
203 nbininv
204 nbinpdf
205 nbinrnd
206 normcdf
207 norminv
208 normpdf
209 normrnd
210 poisscdf
211 poissinv
212 poisspdf
213 poissrnd
214 stdnormal_cdf
215 stdnormal_inv
216 stdnormal_pdf
217 stdnormal_rnd
218 tcdf
219 tinv
220 tpdf
221 trnd
222 unidcdf
223 unidinv
224 unidpdf
225 unidrnd
226 unifcdf
227 unifinv
228 unifpdf
229 unifrnd
230 wblcdf
231 wblinv
232 wblpdf
233 wblrnd
234 wienrnd
235
236 MODELS
237 logistic_regression
238
239 TESTS
240 anova
241 bartlett_test
242 chisquare_test_homogeneity
243 chisquare_test_independence
244 cor_test
245 f_test_regression
246 hotelling_test
247 hotelling_test_2
248 kolmogorov_smirnov_test
249 kolmogorov_smirnov_test_2
250 kruskal_wallis_test
251 manova
252 mcnemar_test
253 prop_test_2
254 run_test
255 sign_test
256 t_test
257 t_test_2
258 t_test_regression
259 u_test
260 var_test
261 welch_test
262 wilcoxon_test
263 z_test
264 z_test_2
265
266 ** The following image functions have been moved from core Octave to
267 the image package available from Octave Forge.
268
269 ntsc2rgb
270 rgb2ntsc
271
272 ** Other new functions added in 4.4:
273
274 bounds
275 camlookat
276 camorbit
277 campos
278 camroll
279 camtarget
280 camup
281 camva
282 camzoom
283 corrcoef
284 cosint
285 decic
286 erase
287 gammaincinv
288 getframe
289 groot
290 gsvd
291 hgtransform
292 humps
293 integral
294 integral2
295 integral3
296 isgraphics
297 isstring
298 mad
299 ode15i
300 ode15s
301 openvar
302 quad2d
303 repelem
304 rgb2gray
305 rticks
306 sinint
307 tfqmr
308 thetaticks
309 vecnorm
310 winqueryreg
311 xticklabels
312 xticks
313 yticklabels
314 yticks
315 zticklabels
316 zticks
317
318 ** Deprecated functions.
319
320 The following functions have been deprecated in Octave 4.4 and will
321 be removed from Octave 6 (or whatever version is the second major
322 release after 4.4):
323
324 Function | Replacement
325 ---------------------|------------------
326 chop | sprintf for visual results
327 desktop | isguirunning
328 tmpnam | tempname
329 toascii | double
330 java2mat | __java2mat__
331
332
333 ** The following functions were deprecated in Octave 4.0 and have been
334 removed from Octave 4.4.
335
336 allow_noninteger_range_as_index
337 bicubic
338 delaunay3
339 do_braindead_shortcircuit_evaluation
340 dump_prefs
341 find_dir_in_path
342 finite
343 fmod
344 fnmatch
345 gmap40
346 loadaudio
347 luinc
348 mouse_wheel_zoom
349 nfields
350 octave_tmp_file_name
351 playaudio
352 saveaudio
353 setaudio
354 syl
355 usage
356
357 ** The "Octave:undefined-return-values" warning ID is obsolete. Octave
358 now throws an error for any attempts to assign undefined values that
359 might be returned from functions.
360
361 ** Deprecated graphics properties.
362
363 The following properties or allowed corresponding values have been
364 deprecated in Octave 4.4 and will be removed from Octave 6 (or whatever
365 version is the second major release after 4.4):
366
367 Object | Property | Value
368 ---------------------|-------------------------|-------------------
369 figure | doublebuffer |
370 | mincolormap |
371 | wvisual |
372 | wvisualmode |
373 | xdisplay |
374 | xvisual |
375 | xvisualmode |
376 axes | drawmode |
377 annotation | edgecolor ("rectangle") |
378 text | fontweight | "demi" and "light"
379 uicontrol | fontweight | "demi" and "light"
380 uipanel | fontweight | "demi" and "light"
381 uibuttongroup | fontweight | "demi" and "light"
382
383 ** The rectangle and ellipse annotation property "edgecolor" has been
384 deprecated and will be removed from Octave 6 (or whatever version
385 is the second major release after 4.4). Use the property "color"
386 instead.
387
388 ** The header file oct-alloc.h has been removed along with the macros
389 that it defined (DECLARE_OCTAVE_ALLOCATOR, DEFINE_OCTAVE_ALLOCATOR,
390 and DEFINE_OCTAVE_ALLOCATOR2).
391 </pre>