Query or set the parameters used by the sparse solvers and factorization functions.
The first four calls above get information about the current settings, while the others change the current settings. The parameters are stored as pairs of keys and values, where the values are all floats and the keys are one of the following strings:
Printing level of debugging information of the solvers (default 0)
Included for compatibility. Not used. (default 1)
Included for compatibility. Not used. (default 1)
Included for compatibility. Not used. (default 0)
Included for compatibility. Not used. (default 3)
Included for compatibility. Not used. (default 3)
Included for compatibility. Not used. (default 0.5)
Flag whether the LU/QR and the ’\’ and ’/’ operators will automatically use the sparsity preserving mmd functions (default 1)
Flag whether the LU and the ’\’ and ’/’ operators will automatically use the sparsity preserving amd functions (default 1)
The pivot tolerance of the UMFPACK solvers (default 0.1)
The pivot tolerance of the UMFPACK symmetric solvers (default 0.001)
The density of nonzero elements in a banded matrix before it is treated by the LAPACK banded solvers (default 0.5)
Flag whether the UMFPACK or mmd solvers are used for the LU, ’\’ and ’/’ operations (default 1)
The value of individual keys can be set with
spparms (key, val)
.
The default values can be restored with the special keyword
"default"
. The special keyword "tight"
can be used to
set the mmd solvers to attempt a sparser solution at the potential cost of
longer running time.
See also: chol, colamd, lu, qr, symamd.
Package: octave