Mercurial > octave
comparison etc/NEWS.7.md @ 31066:74d97efb7573
maint: Merge stable to default.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 04 Jun 2022 00:12:55 +0200 |
parents | ebba770cd852 505ec2f4e16f |
children | 396f60e0b984 |
comparison
equal
deleted
inserted
replaced
31063:451fb63a10a0 | 31066:74d97efb7573 |
---|---|
45 - Import `hash-buffer` modules from gnulib (bug #62416). | 45 - Import `hash-buffer` modules from gnulib (bug #62416). |
46 - Remove `.dirstamp` files from `test/` directory with `maintainer-clean` target. | 46 - Remove `.dirstamp` files from `test/` directory with `maintainer-clean` target. |
47 | 47 |
48 ### Documentation | 48 ### Documentation |
49 | 49 |
50 - Fix minor typo in datestr.m. | 50 - `datestr.m`: Fix minor typo. |
51 - `ls.m`: Improve wording in docstring (bug #62282). | 51 - `ls.m`: Improve wording in docstring (bug #62282). |
52 - `dir.m`: Clarify wildcard behavior on Windows in docstring (bug #62282). | 52 - `dir.m`: Clarify wildcard behavior on Windows in docstring (bug #62282). |
53 - `memory.m`: Redo documentation to be formatted correctly in Info output. | 53 - `memory.m`: Redo documentation to be formatted correctly in Info output. |
54 - Document contracted `format` arguments (bug #62417). | 54 - Document contracted `format` arguments (bug #62417). |
55 - `humps.m`: Fix mismatch between TeX docstring and non-TeX docstring. | 55 - `humps.m`: Fix mismatch between TeX docstring and non-TeX docstring. |
146 - The increment and decrement operators `++` and `--` must "hug" their | 146 - The increment and decrement operators `++` and `--` must "hug" their |
147 corresponding variables. In previous versions of Octave, whitespaces | 147 corresponding variables. In previous versions of Octave, whitespaces |
148 between these operators and the variable they affect were allowed. That | 148 between these operators and the variable they affect were allowed. That |
149 is no longer the case. | 149 is no longer the case. |
150 | 150 |
151 - For compatibility with command syntax, inplace operators (`+=`, `-=`, | 151 - When an expression involving operators could be interpreted ambiguously |
152 `*=`, `.*=`, `/=`, `./=`, `\=`, `.\=`, `^=`, `.^=`, `|=`, `&=`) must now | 152 either as command style syntax or function style syntax, it is |
153 either be followed by a whitespace character or must not be preceded by a | 153 interpreted as command style syntax in more cases than in previous |
154 whitespace character. For commands with binary operators (`+`, `-`, `*`, | 154 versions. To still be interpreted as function style syntax, inplace |
155 `.*`, `/`, `./`, `\`, `.\`, `^`, `.^`, `|`, `&`, `||`, `&&`) without | 155 operators (`+=`, `-=`, `*=`, `.*=`, `/=`, `./=`, `\=`, `.\=`, `^=`, |
156 assignment, the same rules apply. That was not a requirement in previous | 156 `.^=`, `|=`, `&=`) must now either be followed by a whitespace character |
157 versions of Octave. | 157 or must not be preceded by a whitespace character. For ambiguous |
158 E.g., `a + b`, `a+ b`, or `a+b` are valid if `a` is a variable. In | 158 expressions involving binary operators (`+`, `-`, `*`, `.*`, `/`, `./`, |
159 contrast, `a +b` will throw an error if `a` is a variable. The latter | 159 `\`, `.\`, `^`, `.^`, `|`, `&`, `||`, `&&`), the same rules apply. |
160 example is now interpreted as command syntax expression equivalent to the | 160 E.g., `a + b`, `a+ b`, or `a+b` are valid expressions if `a` is a |
161 function syntax expression `a ("+b")`. | 161 variable. In contrast, `a +b` will throw an error if `a` is a variable. |
162 The latter example is now interpreted as a command syntax expression | |
163 (equivalent to the function syntax expression `a ("+b")`). | |
162 | 164 |
163 - The `mldivide` function (i.e., the `\` operator) now uses an LU | 165 - The `mldivide` function (i.e., the `\` operator) now uses an LU |
164 decomposition to solve nearly singular full square matrices. This is | 166 decomposition to solve nearly singular full square matrices. This is |
165 Matlab-compatible and yields results which more nearly minimize `norm | 167 Matlab-compatible and yields results which more nearly minimize `norm |
166 (A*x - b)`. Previously, Octave computed a minimum-norm solution. | 168 (A*x - b)`. Previously, Octave computed a minimum-norm solution. |