Navigation

Operators and Keywords

Function List:

C++ API

: val = disable_range ()
: old_val = disable_range (new_val)
: disable_range (new_val, "local")

Query or set the internal variable that controls whether ranges are stored in a special space-efficient format.

The default value is true. If this option is disabled Octave will store ranges as full matrices.

When called from inside a function with the "local" option, the variable is changed locally for the function and any subroutines it calls. The original variable value is restored when exiting the function.

See also: disable_diagonal_matrix, disable_permutation_matrix.

Package: octave