diff doc/interpreter/numbers.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 bb0ca2753bc2
children 796f54d4ddbf
line wrap: on
line diff
--- a/doc/interpreter/numbers.txi	Tue Aug 17 10:50:49 2021 -0700
+++ b/doc/interpreter/numbers.txi	Tue Aug 17 14:34:42 2021 -0700
@@ -426,9 +426,9 @@
 memory.
 
 This space saving optimization may be disabled using the function
-@dfn{disable_range}.
+@dfn{optimize_range}.
 
-@DOCSTRING(disable_range)
+@DOCSTRING(optimize_range)
 
 Note that the upper (or lower, if the increment is negative) bound on
 the range is not always included in the set of values, and that ranges