Navigation

Operators and Keywords

Function List:

C++ API

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

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

The default value is true. If this option is disabled Octave will store permutation matrices 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_range, disable_diagonal_matrix.

Package: octave