Mercurial > octave
annotate etc/NEWS.10.md @ 33088:49dec190c4da
unqiue.m: Implement third output when 'stable' sort is used. (bug #65176)
* scripts/set/unique.m: Implement third output mapping Y back to X when
'stable' sort option is used. Refactor code for second and third outputs to
remove redundancy. Replace repeated calls to sort in second and third output
code with index expressions and remove associated FIXME note. Remove
unimplemented note from docstring. Update multi-output BISTs for stable with
new correct output. Add additional BISTs to test 'stable' output with other
options.
* etc/NEWS.10.md: Note implementation under Matlab compatibility section.
author | Nicholas R. Jankowski <jankowski.nicholas@gmail.com> |
---|---|
date | Sat, 24 Feb 2024 18:45:06 -0500 |
parents | 39b341c858a7 |
children | 92b8822976fe |
rev | line source |
---|---|
32483 | 1 Summary of important user-visible changes for version 10 (yyyy-mm-dd): |
2 --------------------------------------------------------------------- | |
3 | |
4 ### General improvements | |
5 | |
32669
b18af44b044b
Add new short form aliases of runtime long form options to octave.
Rik <rik@octave.org>
parents:
32660
diff
changeset
|
6 - Three short form aliases have been added for long form options when starting |
b18af44b044b
Add new short form aliases of runtime long form options to octave.
Rik <rik@octave.org>
parents:
32660
diff
changeset
|
7 `octave`. |
b18af44b044b
Add new short form aliases of runtime long form options to octave.
Rik <rik@octave.org>
parents:
32660
diff
changeset
|
8 * `-e CODE` for `--eval CODE` |
b18af44b044b
Add new short form aliases of runtime long form options to octave.
Rik <rik@octave.org>
parents:
32660
diff
changeset
|
9 * `-g` for `--gui` |
b18af44b044b
Add new short form aliases of runtime long form options to octave.
Rik <rik@octave.org>
parents:
32660
diff
changeset
|
10 * `-G` for `--no-gui` |
b18af44b044b
Add new short form aliases of runtime long form options to octave.
Rik <rik@octave.org>
parents:
32660
diff
changeset
|
11 |
32678
49d6ecd07a76
Rename command-line options for handling configuration files.
Rik <rik@octave.org>
parents:
32677
diff
changeset
|
12 - Three long form options have been introduced for clarity. |
49d6ecd07a76
Rename command-line options for handling configuration files.
Rik <rik@octave.org>
parents:
32677
diff
changeset
|
13 * `--no-init-user` : Don't read user configuration files ~/.octaverc or |
49d6ecd07a76
Rename command-line options for handling configuration files.
Rik <rik@octave.org>
parents:
32677
diff
changeset
|
14 .octaverc files at startup. |
49d6ecd07a76
Rename command-line options for handling configuration files.
Rik <rik@octave.org>
parents:
32677
diff
changeset
|
15 * `--no-init-site` : Don't read site-wide configuration files at startup. |
49d6ecd07a76
Rename command-line options for handling configuration files.
Rik <rik@octave.org>
parents:
32677
diff
changeset
|
16 * `--no-init-all` : Don't read any configuration files at startup. |
49d6ecd07a76
Rename command-line options for handling configuration files.
Rik <rik@octave.org>
parents:
32677
diff
changeset
|
17 |
32926
39b341c858a7
nchoosek: Improve input validation and code clarity (bug #65238)
Rik <rik@octave.org>
parents:
32726
diff
changeset
|
18 - `nchoosek` algorithm is now ~2x faster and provides greater precision. |
39b341c858a7
nchoosek: Improve input validation and code clarity (bug #65238)
Rik <rik@octave.org>
parents:
32726
diff
changeset
|
19 |
32483 | 20 ### Graphical User Interface |
21 | |
22 ### Graphics backend | |
23 | |
32587
a6b7c5620240
polar.m: Populate rtick with center value on plot creation (bug #64991)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents:
32583
diff
changeset
|
24 - `polar` plots now include the center tick mark value, typically 0, in |
a6b7c5620240
polar.m: Populate rtick with center value on plot creation (bug #64991)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents:
32583
diff
changeset
|
25 the 'rtick' parameter when the plot is created. Subsequent modifications |
32595
2cf4c5bfc410
polar.m: Tweaks to cset a6b7c5620240 (bug #64991)
Rik <rik@octave.org>
parents:
32587
diff
changeset
|
26 to 'rtick' by the function `rticks` will only include the center tick mark |
2cf4c5bfc410
polar.m: Tweaks to cset a6b7c5620240 (bug #64991)
Rik <rik@octave.org>
parents:
32587
diff
changeset
|
27 value if it is specified. |
32587
a6b7c5620240
polar.m: Populate rtick with center value on plot creation (bug #64991)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents:
32583
diff
changeset
|
28 |
32483 | 29 ### Matlab compatibility |
30 | |
32583
c273d7fdab3a
doc: Add height and width info to rows and columns docstrings (bug #64995)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents:
32505
diff
changeset
|
31 - `height` and `width` are now aliases for the `rows` and `columns` functions. |
c273d7fdab3a
doc: Add height and width info to rows and columns docstrings (bug #64995)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents:
32505
diff
changeset
|
32 |
32647
dfb9b770ae77
Increase default colormap size to 256 colors, add colormap BISTs (bug #65010)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents:
32625
diff
changeset
|
33 - All colormaps now default to a size of 256 colors. (The previous default |
dfb9b770ae77
Increase default colormap size to 256 colors, add colormap BISTs (bug #65010)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents:
32625
diff
changeset
|
34 size was 64. |
dfb9b770ae77
Increase default colormap size to 256 colors, add colormap BISTs (bug #65010)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents:
32625
diff
changeset
|
35 |
32726
d970ec60aa64
griddata: Match output size to vector interpolation points. (bug #65134)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents:
32678
diff
changeset
|
36 - `griddata` output size more consistently matches the input interpolation |
d970ec60aa64
griddata: Match output size to vector interpolation points. (bug #65134)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents:
32678
diff
changeset
|
37 points when they are input as vectors. When they are same-orientation vectors, |
d970ec60aa64
griddata: Match output size to vector interpolation points. (bug #65134)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents:
32678
diff
changeset
|
38 the outputs will be the same size as those vectors. When either is a row |
d970ec60aa64
griddata: Match output size to vector interpolation points. (bug #65134)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents:
32678
diff
changeset
|
39 vector and the other is a column vector, the interpolating points are processed |
d970ec60aa64
griddata: Match output size to vector interpolation points. (bug #65134)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents:
32678
diff
changeset
|
40 through meshgrid and the output is a matrix the same size as the meshgrid. |
d970ec60aa64
griddata: Match output size to vector interpolation points. (bug #65134)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents:
32678
diff
changeset
|
41 |
33088
49dec190c4da
unqiue.m: Implement third output when 'stable' sort is used. (bug #65176)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents:
32926
diff
changeset
|
42 - Enable the third output for `unique` with the `stable` sort option. |
49dec190c4da
unqiue.m: Implement third output when 'stable' sort is used. (bug #65176)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents:
32926
diff
changeset
|
43 |
32483 | 44 ### Alphabetical list of new functions added in Octave 10 |
45 | |
32602
65084aa09317
rticklabels.m, tticklabels.m: Add new functions. (patch #10408)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents:
32595
diff
changeset
|
46 * `rticklabels` |
65084aa09317
rticklabels.m, tticklabels.m: Add new functions. (patch #10408)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents:
32595
diff
changeset
|
47 * `tticklabels` |
65084aa09317
rticklabels.m, tticklabels.m: Add new functions. (patch #10408)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents:
32595
diff
changeset
|
48 |
32483 | 49 ### Deprecated functions, properties, and operators |
50 | |
51 The following functions and properties have been deprecated in Octave 10 | |
52 and will be removed from Octave 12 (or whatever version is the second | |
53 major release after 10): | |
54 | |
55 - Functions | |
56 | |
57 Function | Replacement | |
58 -----------------------|------------------ | |
59 | |
32625
b60af3354ac3
maint: Deprecate mark_as_variable, unmark_as_variable methods for code clarity.
Rik <rik@octave.org>
parents:
32602
diff
changeset
|
60 - Core |
b60af3354ac3
maint: Deprecate mark_as_variable, unmark_as_variable methods for code clarity.
Rik <rik@octave.org>
parents:
32602
diff
changeset
|
61 |
b60af3354ac3
maint: Deprecate mark_as_variable, unmark_as_variable methods for code clarity.
Rik <rik@octave.org>
parents:
32602
diff
changeset
|
62 Function | Replacement |
b60af3354ac3
maint: Deprecate mark_as_variable, unmark_as_variable methods for code clarity.
Rik <rik@octave.org>
parents:
32602
diff
changeset
|
63 --------------------------------------|------------------ |
b60af3354ac3
maint: Deprecate mark_as_variable, unmark_as_variable methods for code clarity.
Rik <rik@octave.org>
parents:
32602
diff
changeset
|
64 symbol_record_rep::mark_as_variable | symbol_record_rep::mark_variable |
b60af3354ac3
maint: Deprecate mark_as_variable, unmark_as_variable methods for code clarity.
Rik <rik@octave.org>
parents:
32602
diff
changeset
|
65 symbol_record_rep::unmark_as_variable | symbol_record_rep::unmark_variable |
b60af3354ac3
maint: Deprecate mark_as_variable, unmark_as_variable methods for code clarity.
Rik <rik@octave.org>
parents:
32602
diff
changeset
|
66 symbol_record::mark_as_variable | symbol_record::mark_variable |
b60af3354ac3
maint: Deprecate mark_as_variable, unmark_as_variable methods for code clarity.
Rik <rik@octave.org>
parents:
32602
diff
changeset
|
67 symbol_record::unmark_as_variable | symbol_record::unmark_variable |
32677
03dcf031fbf3
Deprecate '--verbose' option in favor of '--init-trace'.
Rik <rik@octave.org>
parents:
32669
diff
changeset
|
68 interpreter::verbose | interpreter::init_trace |
03dcf031fbf3
Deprecate '--verbose' option in favor of '--init-trace'.
Rik <rik@octave.org>
parents:
32669
diff
changeset
|
69 cmdline_options::verbose | cmdline_options::init_trace |
32625
b60af3354ac3
maint: Deprecate mark_as_variable, unmark_as_variable methods for code clarity.
Rik <rik@octave.org>
parents:
32602
diff
changeset
|
70 |
32677
03dcf031fbf3
Deprecate '--verbose' option in favor of '--init-trace'.
Rik <rik@octave.org>
parents:
32669
diff
changeset
|
71 - A new method `rwdata ()` provides direct read/write access (a pointer) to the |
32660
f53ac65ffba6
maint: New method rwdata() as clearer alternative to fortran_vec().
Rik <rik@octave.org>
parents:
32647
diff
changeset
|
72 data in a liboctave `Array` object (or its derived classes such as `Matrix`). |
f53ac65ffba6
maint: New method rwdata() as clearer alternative to fortran_vec().
Rik <rik@octave.org>
parents:
32647
diff
changeset
|
73 Historically, the method `fortran_vec ()` provided this access, but the name |
f53ac65ffba6
maint: New method rwdata() as clearer alternative to fortran_vec().
Rik <rik@octave.org>
parents:
32647
diff
changeset
|
74 is unclear, and it is recommended to use `rwdata ()` in any new code. There |
f53ac65ffba6
maint: New method rwdata() as clearer alternative to fortran_vec().
Rik <rik@octave.org>
parents:
32647
diff
changeset
|
75 are no plans to deprecate `fortran_vec`. |
f53ac65ffba6
maint: New method rwdata() as clearer alternative to fortran_vec().
Rik <rik@octave.org>
parents:
32647
diff
changeset
|
76 |
32677
03dcf031fbf3
Deprecate '--verbose' option in favor of '--init-trace'.
Rik <rik@octave.org>
parents:
32669
diff
changeset
|
77 - The `--verbose`,`-V` command-line option has been deprecated. Use |
03dcf031fbf3
Deprecate '--verbose' option in favor of '--init-trace'.
Rik <rik@octave.org>
parents:
32669
diff
changeset
|
78 `--init-trace` to print the configuration files executed during initialization. |
03dcf031fbf3
Deprecate '--verbose' option in favor of '--init-trace'.
Rik <rik@octave.org>
parents:
32669
diff
changeset
|
79 |
32483 | 80 The following features were deprecated in Octave 8 and have been removed |
81 from Octave 10. | |
82 | |
83 - Functions | |
84 | |
85 Function | Replacement | |
86 -----------------------|------------------ | |
87 shift | circshift | |
88 sparse_auto_mutate | none (see below) | |
89 | |
90 | |
91 Summary of bugs fixed for version 10.1.0 (yyyy-mm-dd): | |
92 ---------------------------------------------------- | |
93 | |
94 ### Old release news | |
95 | |
32505
fe131ab1011a
NEWS: Update links to previous NEWS files.
Markus Mützel <markus.muetzel@gmx.de>
parents:
32483
diff
changeset
|
96 - [Octave 9.x](etc/NEWS.9.md) |
fe131ab1011a
NEWS: Update links to previous NEWS files.
Markus Mützel <markus.muetzel@gmx.de>
parents:
32483
diff
changeset
|
97 - [Octave 8.x](etc/NEWS.8.md) |
fe131ab1011a
NEWS: Update links to previous NEWS files.
Markus Mützel <markus.muetzel@gmx.de>
parents:
32483
diff
changeset
|
98 - [Octave 7.x](etc/NEWS.7.md) |
fe131ab1011a
NEWS: Update links to previous NEWS files.
Markus Mützel <markus.muetzel@gmx.de>
parents:
32483
diff
changeset
|
99 - [Octave 6.x](etc/NEWS.6.md) |
fe131ab1011a
NEWS: Update links to previous NEWS files.
Markus Mützel <markus.muetzel@gmx.de>
parents:
32483
diff
changeset
|
100 - [Octave 5.x](etc/NEWS.5.md) |
32483 | 101 - [Octave 4.x](etc/NEWS.4) |
102 - [Octave 3.x](etc/NEWS.3) | |
103 - [Octave 2.x](etc/NEWS.2) | |
104 - [Octave 1.x](etc/NEWS.1) |