annotate NEWS @ 28214:0e0e0de09f1e

griddata.m: Overhaul function. * griddata.m: Rewrite documentation for clarity. Place all input validation before calculations. Validate METHOD input more precisely. Don't calculate Delaunay triangulation for "v4" method as it is unnecessary. Update BIST tests.
author Rik <rik@octave.org>
date Mon, 13 Apr 2020 18:07:28 -0700
parents d052c11d47c6
children 7739d3eb952b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
28077
f47f9493cb37 NEWS: Update for version 7 development.
Rik <rik@octave.org>
parents: 28039
diff changeset
1 Summary of important user-visible changes for version 7 (yyyy-mm-dd):
23277
df0fb2cb820b add release dates to NEWS files
John W. Eaton <jwe@octave.org>
parents: 23273
diff changeset
2 ----------------------------------------------------------------------
27994
f4b6b170a761 Major version and date update for Octave 5.2.0 (bug #57657).
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 27079
diff changeset
3
26838
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
4 ### General improvements
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
5
28109
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
6 - Many functions in Octave can be called in a command form---no
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
7 parentheses for invocation and no return argument assignment---or in a
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
8 functional form---parentheses and '=' for assignment of return values.
26617
98afb8bbd1f6 maint: Strip trailing whitespace from source files.
John W. Eaton <jwe@octave.org>
parents: 26422
diff changeset
9
28109
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
10 Command Form Example
26264
25d3e8e49d5c randi.m: Implement rejection algorithm for unbiased results (bug #54619).
Michael Leitner
parents: 26262
diff changeset
11
28109
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
12 `mkdir new_directory`
26838
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
13
28109
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
14 Function Form Example
26617
98afb8bbd1f6 maint: Strip trailing whitespace from source files.
John W. Eaton <jwe@octave.org>
parents: 26422
diff changeset
15
28109
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
16 `status = mkdir ("new_directory")`
27521
37f9eb2c05e0 doc: improve format() docstring and NEWS announcement.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 27517
diff changeset
17
28109
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
18 Octave now handles errors that occur in a consistent manner. If
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
19 called in command form and there is a failure, an error is thrown
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
20 and a message printed. If called in functional form, no error or
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
21 message is printed and the failure is communicated to the programmer
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
22 via the output status variable.
23356
ef20eee0247d allow hex2num to handle integer values
John W. Eaton <jwe@octave.org>
parents: 23348
diff changeset
23
28109
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
24 The following list of functions have been modified.
27811
392c03df4565 NEWS: Update for 6.1 release.
Rik <rik@octave.org>
parents: 27759
diff changeset
25
28109
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
26 * `copyfile`
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
27 * `fcntl`
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
28 * `fileattrib`
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
29 * `kill`
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
30 * `link`
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
31 * `mkfifo`
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
32 * `movefile`
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
33 * `rename`
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
34 * `rmdir`
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
35 * `symlink`
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
36 * `unlink`
26126
f6f16b842d5d NEWS: Announce change to intmin, intmax, flintmax to accept a variable as input.
Rik <rik@octave.org>
parents: 26125
diff changeset
37
28077
f47f9493cb37 NEWS: Update for version 7 development.
Rik <rik@octave.org>
parents: 28039
diff changeset
38 ### Graphics backend
26077
31b443b5a6c1 ranks.m: Overhaul function for performance (25X) and addition of tie-breaking (bug #36372).
Dave Goel <deego3@gmail.com>
parents: 26059
diff changeset
39
28077
f47f9493cb37 NEWS: Update for version 7 development.
Rik <rik@octave.org>
parents: 28039
diff changeset
40 - Support for Qt4 for graphics and the GUI has been removed.
26838
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
41
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
42 ### Matlab compatibility
24524
a56d283ff18a Honor "interruptible" for property listeners (bug #52804).
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 24523
diff changeset
43
28210
bb929d5a34cb griddata.m: Added support for "v4" biharmonic spline interpolation method (bug #33539).
Nicholas R. Jankowski <jankowskin@asme.org>
parents: 28171
diff changeset
44 - The function `griddata` now implements the "v4" Biharmonic Spline
bb929d5a34cb griddata.m: Added support for "v4" biharmonic spline interpolation method (bug #33539).
Nicholas R. Jankowski <jankowskin@asme.org>
parents: 28171
diff changeset
45 Interpolation method. In adddition, the function now accepts 3-D inputs
bb929d5a34cb griddata.m: Added support for "v4" biharmonic spline interpolation method (bug #33539).
Nicholas R. Jankowski <jankowskin@asme.org>
parents: 28171
diff changeset
46 by passing the data to `griddata3`.
25867
49ffa78f9243 Use "facenormals" for flat lighting on surfaces (bug #54024).
Markus Mützel <markus.muetzel@gmx.de>
parents: 25837
diff changeset
47
28171
a23da76e0693 Matlab compatibility fixes for coordinate transform functions (bug #57794).
Nicholas R. Jankowski <jankowskin@asme.org>
parents: 28151
diff changeset
48 - Coordinate transformation functions `cart2sph`, `sph2cart`,
a23da76e0693 Matlab compatibility fixes for coordinate transform functions (bug #57794).
Nicholas R. Jankowski <jankowskin@asme.org>
parents: 28151
diff changeset
49 `cart2pol`, and `pol2cart` can now accept either row or column vectors
a23da76e0693 Matlab compatibility fixes for coordinate transform functions (bug #57794).
Nicholas R. Jankowski <jankowskin@asme.org>
parents: 28151
diff changeset
50 for coordinate inputs. A single coordinate matrix with one variable per
a23da76e0693 Matlab compatibility fixes for coordinate transform functions (bug #57794).
Nicholas R. Jankowski <jankowskin@asme.org>
parents: 28151
diff changeset
51 column can still be used as function input, but a single output variable
a23da76e0693 Matlab compatibility fixes for coordinate transform functions (bug #57794).
Nicholas R. Jankowski <jankowskin@asme.org>
parents: 28151
diff changeset
52 will now contain just the first output coordinate, and will no longer
a23da76e0693 Matlab compatibility fixes for coordinate transform functions (bug #57794).
Nicholas R. Jankowski <jankowskin@asme.org>
parents: 28151
diff changeset
53 return the full output coordinate matrix. Output size matches the
a23da76e0693 Matlab compatibility fixes for coordinate transform functions (bug #57794).
Nicholas R. Jankowski <jankowskin@asme.org>
parents: 28151
diff changeset
54 size of input vectors, or in the case of an input matrix will be column
a23da76e0693 Matlab compatibility fixes for coordinate transform functions (bug #57794).
Nicholas R. Jankowski <jankowskin@asme.org>
parents: 28151
diff changeset
55 vectors with rows corresponding to the input coordinate matrix.
a23da76e0693 Matlab compatibility fixes for coordinate transform functions (bug #57794).
Nicholas R. Jankowski <jankowskin@asme.org>
parents: 28151
diff changeset
56
28077
f47f9493cb37 NEWS: Update for version 7 development.
Rik <rik@octave.org>
parents: 28039
diff changeset
57 ### Alphabetical list of new functions added in Octave 7
26185
ef0998af70f9 Change "Margin" default of text object to 3.
Rik <rik@octave.org>
parents: 26175
diff changeset
58
28212
d052c11d47c6 Add new functions startsWith and endsWith (bug #57041).
Abdallah Elshamy <abdallah.k.elshamy@gmail.com>
parents: 28210
diff changeset
59 * `endsWith`
28107
d320728d5d06 style fixes for rng; document and mention in NEWS file
John W. Eaton <jwe@octave.org>
parents: 28080
diff changeset
60 * `rng`
28212
d052c11d47c6 Add new functions startsWith and endsWith (bug #57041).
Abdallah Elshamy <abdallah.k.elshamy@gmail.com>
parents: 28210
diff changeset
61 * `startsWith`
26838
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
62
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
63 ### Deprecated functions and properties
22586
d0e972e74851 maint: merge stable to default.
Carnë Draug <carandraug@octave.org>
parents: 22573
diff changeset
64
28077
f47f9493cb37 NEWS: Update for version 7 development.
Rik <rik@octave.org>
parents: 28039
diff changeset
65 The following functions and properties have been deprecated in Octave 7
f47f9493cb37 NEWS: Update for version 7 development.
Rik <rik@octave.org>
parents: 28039
diff changeset
66 and will be removed from Octave 9 (or whatever version is the second
f47f9493cb37 NEWS: Update for version 7 development.
Rik <rik@octave.org>
parents: 28039
diff changeset
67 major release after 7):
22613
edd04ce99891 Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents: 22586
diff changeset
68
26838
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
69 - Functions
20157
e410d62ae2c8 maint: move NEWS from 45565ecec019 from the release 4.0 to 4.2.
Carnë Draug <carandraug@octave.org>
parents: 20154
diff changeset
70
26838
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
71 Function | Replacement
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
72 -----------------------|------------------
28077
f47f9493cb37 NEWS: Update for version 7 development.
Rik <rik@octave.org>
parents: 28039
diff changeset
73 |
22613
edd04ce99891 Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents: 22586
diff changeset
74
26838
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
75 - Properties
20484
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20466
diff changeset
76
26840
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
77 Object | Property | Value
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
78 -----------------|---------------|------------
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
79 | |
20484
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20466
diff changeset
80
26840
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
81 ### Removed functions and properties
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
82
28077
f47f9493cb37 NEWS: Update for version 7 development.
Rik <rik@octave.org>
parents: 28039
diff changeset
83 The following functions and properties were deprecated in Octave 5
f47f9493cb37 NEWS: Update for version 7 development.
Rik <rik@octave.org>
parents: 28039
diff changeset
84 and have been removed from Octave 7.
26840
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
85
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
86 - Functions
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
87
28080
73f9fdc29baa NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents: 28077
diff changeset
88 Function | Replacement
73f9fdc29baa NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents: 28077
diff changeset
89 -------------------------|------------------
73f9fdc29baa NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents: 28077
diff changeset
90 `output_max_field_width` | `output_precision`
73f9fdc29baa NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents: 28077
diff changeset
91 `is_keyword` | `iskeyword`
19122
c43223245085 doc: Add warnings about eventual removal of inline functions.
Rik <rik@octave.org>
parents: 19119
diff changeset
92
26840
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
93 - Properties
18606
0ede4dbb37f1 Overhaul interp1, interp2, interp3 functions.
Rik <rik@octave.org>
parents: 18580
diff changeset
94
28080
73f9fdc29baa NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents: 28077
diff changeset
95 Object | Property | Value
73f9fdc29baa NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents: 28077
diff changeset
96 -----------------|---------------|------------
73f9fdc29baa NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents: 28077
diff changeset
97 `text` | `fontangle` | `"oblique"`
73f9fdc29baa NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents: 28077
diff changeset
98 `uibuttongroup` | `fontangle` | `"oblique"`
73f9fdc29baa NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents: 28077
diff changeset
99 `uicontrol` | `fontangle` | `"oblique"`
73f9fdc29baa NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents: 28077
diff changeset
100 `uipanel` | `fontangle` | `"oblique"`
73f9fdc29baa NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents: 28077
diff changeset
101 `uitable` | `fontangle` | `"oblique"`
26838
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
102
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
103 ### Old release news
19965
d20dd211cc89 Enable float truncation by default for octave builds.
Rik <rik@octave.org>
parents: 19958
diff changeset
104
28077
f47f9493cb37 NEWS: Update for version 7 development.
Rik <rik@octave.org>
parents: 28039
diff changeset
105 - [Octave 6.x](etc/NEWS.6)
26840
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
106 - [Octave 5.x](etc/NEWS.5)
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
107 - [Octave 4.x](etc/NEWS.4)
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
108 - [Octave 3.x](etc/NEWS.3)
26838
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
109 - [Octave 2.x](etc/NEWS.2)
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
110 - [Octave 1.x](etc/NEWS.1)