Mercurial > octave
comparison doc/interpreter/diagperm.txi @ 29982:605275522c37
Deprecate disable_range, disable_diagonal_matrix, disable_permutation_matrix.
Replace configuration options with inverted sense (true means functionality is
disabled) with ordinary sense options: optimize_range, optimize_diagonal_matrix,
optimize_permutation_matrix.
* NEWS: Announce deprecation and replacement functions.
* basics.txi, diagperm.txi, numbers.txi: Replace instances of functions
in Octave manual with their replacements.
* interpreter.cc (maximum_braindamage): Change options for --traditional
to disable Octave optimizations.
* ov-typeinfo.cc (Ftypeinfo): Replace old functions in BIST tests.
* ov.cc: Rename variables Vdisable_diagonal_matrix,
Vdisable_permutation_matrix, Vdisable_range. Update code for inverted
sense of new optimize_XXX variables.
* ov.cc (Foptimize_range, Foptimize_diagonal_matrix,
Foptimize_permutation_matrix): New replacement functions.
* diag-perm.tst, mk-conv-tst.sh: Replace instances of disable_range
with optimize_range in BIST tests.
* scripts/deprecated/module.mk: Add disable_diagonal_matrix.m, disable_permutation_matrix.m, disable_range.m to build system.
* scripts/deprecated/disable_diagonal_matrix.m,
scripts/deprecated/disable_permutation_matrix.m,
scripts/deprecated/disable_range.m: New m-functions to issue a warning before
calling replacement optimize_XXX function.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 17 Aug 2021 14:34:42 -0700 |
parents | 00f796120a6d |
children | 796f54d4ddbf |
comparison
equal
deleted
inserted
replaced
29981:0c3d248a3b44 | 29982:605275522c37 |
---|---|
58 | 58 |
59 Octave provides special treatment of real and complex rectangular diagonal | 59 Octave provides special treatment of real and complex rectangular diagonal |
60 matrices, as well as permutation matrices. They are stored as special objects, | 60 matrices, as well as permutation matrices. They are stored as special objects, |
61 using efficient storage and algorithms, facilitating writing both readable and | 61 using efficient storage and algorithms, facilitating writing both readable and |
62 efficient matrix algebra expressions in the Octave language. The special | 62 efficient matrix algebra expressions in the Octave language. The special |
63 treatment may be disabled by using the functions @dfn{disable_diagonal_matrix} | 63 treatment may be disabled by using the functions @dfn{optimize_diagonal_matrix} |
64 and @dfn{disable_permutation_matrix}. | 64 and @dfn{optimize_permutation_matrix}. |
65 | 65 |
66 @DOCSTRING(disable_diagonal_matrix) | 66 @DOCSTRING(optimize_diagonal_matrix) |
67 | 67 |
68 @DOCSTRING(disable_permutation_matrix) | 68 @DOCSTRING(optimize_permutation_matrix) |
69 | 69 |
70 The space savings are significant as demonstrated by the following code. | 70 The space savings are significant as demonstrated by the following code. |
71 | 71 |
72 @example | 72 @example |
73 @group | 73 @group |