Mercurial > web-octave
annotate pages/NEWS.7.md @ 276:12bb9bb7602f
Octave 7.1.0 release 2022-04-06
author | Kai T. Ohlhus <k.ohlhus@gmail.com> |
---|---|
date | Fri, 08 Apr 2022 22:23:16 +0900 |
parents | |
children |
rev | line source |
---|---|
276
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
1 --- |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
2 layout: page |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
3 title: GNU Octave Version 7 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
4 permalink: NEWS-7.html |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
5 --- |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
6 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
7 ## Summary of important user-visible changes |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
8 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
9 April 06, 2022 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
10 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
11 {% include release_news_select.md %} |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
12 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
13 {::options parse_block_html="true" /} |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
14 <div class="panel callout"> |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
15 * TOC |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
16 {:toc} |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
17 </div> |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
18 {::options parse_block_html="false" /} |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
19 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
20 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
21 ### General improvements |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
22 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
23 - Many functions in Octave can be called in a command form---no |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
24 parentheses for invocation and no return argument assignment---or in a |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
25 functional form---parentheses and '=' for assignment of return values. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
26 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
27 **Command Form Example** |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
28 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
29 `mkdir new_directory` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
30 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
31 **Function Form Example** |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
32 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
33 `status = mkdir ("new_directory")` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
34 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
35 Octave now handles errors that occur in a consistent manner. If |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
36 called in command form and there is a failure, an error is thrown |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
37 and a message printed. If called in functional form, no error or |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
38 message is printed and the failure is communicated to the programmer |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
39 via the output status variable. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
40 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
41 The following list of functions have been modified. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
42 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
43 * `copyfile` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
44 * `fcntl` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
45 * `fileattrib` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
46 * `kill` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
47 * `link` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
48 * `mkfifo` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
49 * `movefile` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
50 * `rename` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
51 * `rmdir` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
52 * `symlink` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
53 * `unlink` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
54 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
55 - Calling a user-defined function with too many inputs or outputs is now |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
56 an error. The interpreter makes this check automatically. If a |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
57 function uses `varargin` then the check is skipped for function inputs, |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
58 and if a function uses `varargout` then the check is skipped for function |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
59 outputs. Input validation for functions typically begins with checking |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
60 that the number of inputs and outputs match expectations. Existing code |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
61 can be simplified by removing these checks which are now done by the |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
62 interpreter. Typically, code blocks like the following can simply be |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
63 deleted. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
64 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
65 ## Checking number of inputs |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
66 if (nargin > 2) |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
67 print_usage (); |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
68 endif |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
69 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
70 ## Checking number of outputs |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
71 if (nargout > 1) |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
72 print_usage (); |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
73 endif |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
74 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
75 - Binary and hexadecimal constants like `0b101` and `0xDEADBEEF` now |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
76 create integers (unsigned by default) with sizes determined from the |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
77 number of digits present. For example, `0xff` creates a `uint8` value |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
78 and `0xDEADBEEF` creates a `uint64` value. You may also use a suffix of |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
79 the form `u8`, `u16`, `u32`, `u64`, `s8`, `s16`, `s32`, or `s64` to |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
80 explicitly specify the data type to use (`u` or `s` to indicate unsigned |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
81 or signed and the number to indicate the integer size). |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
82 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
83 Binary constants are limited to 64 binary digits and hexadecimal |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
84 constants are limited to 16 hexadecimal digits with no automatic |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
85 rounding or conversion to floating point values. Note that this may |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
86 cause problems in existing code. For example, an expression like |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
87 `[0x1; 0x100; 0x10000]` will be uint8 (because of the rules of |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
88 concatenating integers of different sizes) with the larger values |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
89 truncated (because of the saturation semantics of integer values). To |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
90 avoid these kinds of problems either: 1) declare the first integer to be |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
91 of the desired size such as `[0x1u32; 0x100; 0x10000]`, or 2) pad |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
92 constants in array expressions with leading zeros so that they use the |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
93 same number of digits for each value such as |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
94 `[0x00_00_01; 0x00_01_00; 0x01_00_00]`. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
95 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
96 - The colon operator now works for integer (int8, int16, ..., uint64) |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
97 and single data types. However, only double ranges use a |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
98 memory-efficient storage scheme internally. Other data types are |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
99 stored as ordinary arrays. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
100 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
101 - The increment and decrement operators `++` and `--` must "hug" their |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
102 corresponding variables. In previous versions of Octave, whitespaces |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
103 between these operators and the variable they affect were allowed. That |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
104 is no longer the case. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
105 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
106 - The `mldivide` function (i.e., the `\` operator) now uses an LU |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
107 decomposition to solve nearly singular full square matrices. This is |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
108 Matlab-compatible and yields results which more nearly minimize `norm |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
109 (A*x - b)`. Previously, Octave computed a minimum-norm solution. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
110 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
111 - The `factor` function has been overhauled for speed. For large |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
112 inputs > 1e14, it can be up to 10,000 times faster. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
113 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
114 - The `isprime` function uses a new primality testing algorithm |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
115 that is up to 50,000 times faster for inputs > 1e14. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
116 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
117 - The `betainc` function now calculates an exact output for the |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
118 important special cases where a or b are 1. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
119 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
120 - The `whos` function now displays an additional attribute 's' when |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
121 the variable is a sparse type. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
122 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
123 - As part of GSoC 2020, Abdallah K. Elshamy implemented the |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
124 `jsondecode` and `jsonencode` functions to read and write JSON data. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
125 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
126 - As part of GSoC 2021, Abdallah K. Elshamy implemented the |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
127 `jupyter_notebook` classdef class. This class supports running and |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
128 filling Jupyter Notebooks using the Octave language kernel from Octave |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
129 itself. Making the evaluation of long-running Jupyter Notebooks on a |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
130 computing server without permanent browser connection possible. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
131 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
132 - By default, the history file is now located at `$DATA/octave/history`, |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
133 where `$DATA` is a platform dependent location for (roaming) user data |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
134 files (e.g., `${XDG_DATA_HOME}` or, if that is not set, `~/.local/share` on |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
135 Unix-like operating systems or `%APPDATA%` on Windows). |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
136 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
137 - For Octave on Windows OS, the minimum required version of the Windows |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
138 API is now 6.1 (Windows 7 or newer). |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
139 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
140 - The non-re-entrant version of the QHull library "libqhull" was |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
141 deprecated upstream. Octave now (optionally) requires the re-entrant |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
142 version of that library "libqhull_r" instead. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
143 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
144 - Octave's build system no longer appends "++" to the end of the |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
145 "magick++" library name (set with the `--with-magick=` configure flag). |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
146 The real name of the "magick++" library (including any potentially |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
147 trailing "++") needs to be set in that option now. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
148 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
149 - The `pkg update` command now accepts options that are passed to `pkg install` for each updated package. Specifying `-local` or |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
150 `-global` will restrict update checks to local or global |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
151 installed packages, respectively. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
152 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
153 ### Graphical User Interface |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
154 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
155 - The graphical user interface is now available in Hungarian and |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
156 Turkish. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
157 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
158 - In debug mode, symbol values are now shown in tooltips when hovering |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
159 variables in the editor panel. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
160 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
161 - The "Disable global shortcuts when Command Window has focus" GUI |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
162 preference under the Shortcuts tab is now disabled by default. This |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
163 option disables keyboard shortcuts to avoid interference with readline |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
164 key strokes in the Command Window. Unlike versions prior to Octave 7, |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
165 this preference now also affects the Ctrl-C/V shortcuts for copy/paste. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
166 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
167 - In command line mode, i.e. when Octave is started without the `--gui` option, |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
168 the doc command now opens the GUI documentation browser as a standalone widget, |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
169 provided that Octave was compiled with GUI support. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
170 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
171 ### Graphics backend |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
172 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
173 - Support for Qt4 for both graphics and the GUI has been removed. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
174 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
175 - If a working LaTeX tool chain is found on the path, including `latex`, |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
176 `dvipng`, and `dvisvgm` binaries, then text strings can now be rendered |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
177 properly when using the `"latex"` value for the text objects' |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
178 `"interpreter"` property and axes objects' `"ticklabelinterpreter"`. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
179 Type `doc "latex interpreter"` for further info. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
180 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
181 - The `"Marker"` property for plot objects now accepts `|` which draws |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
182 a vertical line or `_` which draws a horizontal line. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
183 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
184 - The `FMT` format argument for plot commands now accepts long forms for |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
185 color names which may be more understandable than the existing |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
186 one-letter codes. For example, the RGB value `[0 0 0]` can now be |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
187 specified by `"black"` in addition to `"k"`. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
188 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
189 - The color graphics properties, for example `"EdgeColor"` or |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
190 `"FaceColor"`, now accept HTML specifications. An HTML specification is |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
191 a string that begins with the character '#' and is followed by either 3 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
192 or 6 hexadecimal digits. For example, magenta which is 100% red and |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
193 blue values can specified by `"#FF00FF"` or `"#F0F"`. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
194 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
195 - The additional property `"contextmenu"` has been added to all graphics |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
196 objects. It is equivalent to the previously used `"uicontextmenu"` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
197 property which is hidden now. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
198 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
199 - `uicontrol` objects now fully implement the `"Off"` and `"Inactive"` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
200 values of the `"Enable"` property. When the value is `"Off"`, no |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
201 interaction with the object occurs and the `uicontrol` changes color |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
202 (typically to gray) to indicate it is disabled. When the value is |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
203 `"Inactive"`, the object appears normally (no change in color), but it |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
204 is not possible to change the value of the object (such as modifying |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
205 text in an `Edit` box or clicking on a `RadioButton`). |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
206 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
207 - The `"ListBoxTop"` property for `uicontrol` objects has been |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
208 implemented for `set` commands. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
209 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
210 - The `Title` property for print formats such as PDF or SVG is now set |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
211 to the title displayed on the figure window which contains the plot. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
212 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
213 - Additional properties have been added to the `axes` graphics object: |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
214 * `"alphamap"` (not yet implemented) |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
215 * `"alphascale"` (not yet implemented) |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
216 * `"colorscale"` (not yet implemented) |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
217 * `"fontsizemode"` (not yet implemented) |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
218 * `"innerposition"` (equivalent to `"position"`) |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
219 * `"interactions"` (not yet implemented) |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
220 * `"layout"` (not yet implemented) |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
221 * `"legend"` (not yet implemented) |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
222 * `"nextseriesindex"` (read-only, used by `scatter` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
223 graphics objects) |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
224 * `"positionconstraint"` (replacement for `"activepositionproperty"` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
225 which is now a hidden property. No plans for removal.) |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
226 * `"toolbar"` (not yet implemented) |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
227 * `"xaxis"` (not yet implemented) |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
228 * `"yaxis"` (not yet implemented) |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
229 * `"zaxis"` (not yet implemented) |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
230 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
231 ### Matlab compatibility |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
232 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
233 - The function `griddata` now implements the `"v4"` Biharmonic Spline |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
234 Interpolation method. In adddition, the function now accepts 3-D inputs |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
235 by passing the data to `griddata3`. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
236 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
237 - Coordinate transformation functions `cart2sph`, `sph2cart`, |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
238 `cart2pol`, and `pol2cart` now accept either row or column vectors for |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
239 coordinate inputs. A single coordinate matrix with one variable per |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
240 column can still be used as function input, but a single output variable |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
241 will now contain just the first output coordinate, and will no longer |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
242 return the full output coordinate matrix. Output size matches the size |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
243 of input vectors, or in the case of an input matrix will be column |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
244 vectors with rows corresponding to the input coordinate matrix. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
245 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
246 - The function `dec2bin` and `dec2hex` now support negative numbers. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
247 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
248 - The function `factor` now supports uint64 inputs larger than |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
249 `flintmax`. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
250 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
251 - The function `primes` now supports char inputs. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
252 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
253 - The functions `quantile` and `prctile` now permit operating on |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
254 dimensions greater than `ndims (x)`. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
255 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
256 - The function `iqr` now uses Matlab compatible interpolation for |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
257 quantile values. The dimension input now allows a vector, "all", and |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
258 dimensions greater than `ndims (x)`. The function also handles |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
259 `Inf` and `NaN` input values in a Matlab-compatible manner. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
260 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
261 - The function `importdata` now produces more compatible results when |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
262 the file contains a 2-D text matrix. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
263 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
264 - The file functions `copyfile`, `mkdir`, `movefile`, `rmdir` now return |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
265 a logical value (true/false) rather than a numeric value (1/0). |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
266 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
267 - `uimenu` now accepts property `"Text"` which is identical to |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
268 `"Label"`. Matlab recommends using `"Text"` in new code, although there |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
269 is no announced date for deprecating `"Label"`. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
270 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
271 - The functions `scatter` and `scatter3` now return a handle to a |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
272 scatter graphics object. For compatibility, they return an `hggroup` of |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
273 patch graphics objects when the `"gnuplot"` graphics toolkit is used. In |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
274 previous versions of Octave, these functions returned an `hggroup` of |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
275 patch graphics objects for all graphics toolkits. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
276 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
277 - The functions `bar` and `barh` now handle stacked negative bar values |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
278 in a Matlab-compatible manner. Negative values now stack below the zero |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
279 axis independently of a positive value bars in the same stack. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
280 Previously the negative bars could overlap positive bars depending on |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
281 drawing order. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
282 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
283 - The functions `bar` and `barh` now use colors from the `"ColorOrder"` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
284 axes property rather than the `"Colormap"` figure property unless one |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
285 of the histogram options (@qcode{"hist"}, @qcode{"histc"} was specified. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
286 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
287 - The function `saveas` now defaults to saving in Octave figure format |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
288 (.ofig) rather than PDF (.pdf). |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
289 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
290 - A new warning ID (`"Octave:unimplemented-matlab-functionality"`) has |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
291 been added which prints a warning when Octave's parser recognizes valid |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
292 Matlab code, but for which Octave does not yet implement the |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
293 functionality. By default, this warning is enabled. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
294 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
295 - When Octave is started with the `--traditional` option for maximum |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
296 compatibility the `print_struct_array_contents` internal variable is set |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
297 to true. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
298 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
299 - The function `repelem` now produces a row vector output when the input is |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
300 a scalar. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
301 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
302 - The functions `var` and `std` now accept a weight vector as input and |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
303 compute the weigthed variance. Dimension input now allows a vector and |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
304 the keyword "all". |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
305 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
306 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
307 ### Deprecated functions and operators |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
308 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
309 The following functions and operators have been deprecated in Octave 7 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
310 and will be removed from Octave 9 (or whatever version is the second |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
311 major release after 7): |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
312 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
313 - Functions |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
314 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
315 Function | Replacement |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
316 ---------------------------- |---------------------------- |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
317 `disable_diagonal_matrix` | `optimize_diagonal_matrix` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
318 `disable_permutation_matrix` | `optimize_permutation_matrix` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
319 `disable_range` | `optimize_range` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
320 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
321 - Operators |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
322 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
323 Operator | Replacement | Description |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
324 ---------|-------------|------------ |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
325 `**` | `^` | Matrix exponent |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
326 `.**` | `.^` | Element-by-element exponent |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
327 `.+` | `+` | Element-by-element addition |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
328 `.-` | `-` | Element-by-element subtraction |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
329 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
330 - Interpreter |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
331 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
332 * The use of `'...'` for line continuations *inside* double-quoted |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
333 strings has been deprecated. Use `'\'` for line continuations |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
334 inside strings instead. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
335 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
336 * The use of `'\'` as a line continuation *outside* of double-quoted |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
337 strings has been deprecated. Use `'...'` for line continuations |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
338 instead. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
339 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
340 * Any trailing whitespace after a `'\'` line continuation has been |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
341 deprecated. Delete unnecessary trailing whitespace. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
342 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
343 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
344 The following functions were deprecated in Octave 6 and will be removed |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
345 from Octave 8 (or whatever version is the second major release after 6): |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
346 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
347 - Functions |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
348 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
349 Function | Replacement |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
350 -----------------------|------------------ |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
351 `runtests` | `oruntests` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
352 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
353 - The environment variable used by `mkoctfile` for linker flags is now |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
354 `LDFLAGS` rather than `LFLAGS`. `LFLAGS` was deprecated in Octave 6, |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
355 and a warning is now emitted if it is used, but it will continue to |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
356 work. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
357 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
358 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
359 ### Removed functions, properties, and features |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
360 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
361 The following functions and properties were deprecated in Octave 5 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
362 and have been removed from Octave 7. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
363 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
364 - Functions |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
365 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
366 Function | Replacement |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
367 -------------------------|------------------ |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
368 `output_max_field_width` | `output_precision` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
369 `is_keyword` | `iskeyword` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
370 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
371 - Properties |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
372 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
373 Object | Property | Value |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
374 -----------------|---------------|------------ |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
375 `text` | `fontangle` | `"oblique"` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
376 `uibuttongroup` | `fontangle` | `"oblique"` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
377 `uicontrol` | `fontangle` | `"oblique"` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
378 `uipanel` | `fontangle` | `"oblique"` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
379 `uitable` | `fontangle` | `"oblique"` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
380 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
381 - The prototype JIT compiler has been removed from Octave. Since it was |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
382 first added as part of a Google Summer of Code project in 2012, no one |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
383 has ever seriously taken on further development of it and it still does |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
384 nothing significant. It is out of date with the default interpreter |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
385 that walks the parse tree. Even though we have fixed the configure |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
386 script to disable it by default, people still ask questions about how to |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
387 build it, but it doesn’t seem that they are doing that to work on it but |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
388 because they think it will make Octave code run faster (it never did, |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
389 except for some extremely simple bits of code as examples for |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
390 demonstration purposes only). The following functions related to the |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
391 JIT compiler have also been removed: `debug_jit`, `jit_enable`, |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
392 `jit_failcnt`, and `jit_startcnt`. |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
393 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
394 ### Alphabetical list of new functions added in Octave 7 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
395 |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
396 * `cospi` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
397 * `getpixelposition` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
398 * `endsWith` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
399 * `fill3` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
400 * `jsondecode` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
401 * `jsonencode` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
402 * `jupyter_notebook` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
403 * `listfonts` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
404 * `matlab.net.base64decode` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
405 * `matlab.net.base64encode` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
406 * `memory` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
407 * `ordqz` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
408 * `rng` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
409 * `sinpi` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
410 * `startsWith` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
411 * `streamribbon` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
412 * `turbo` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
413 * `uniquetol` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
414 * `xtickangle` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
415 * `ytickangle` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
416 * `ztickangle` |
12bb9bb7602f
Octave 7.1.0 release 2022-04-06
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
417 |