| MATLAB Function Reference | Search  Help Desk |
| spparms | See Also |
Set parameters for sparse matrix routines
spparms('key',value)
spparms
values = spparms
[keys,values] = spparms
spparms(values)
value = spparms('key')
spparms('default')
spparms('tight')
spparms('key',value)
sets one or more of the tunable parameters used in the sparse linear equation operators, \ and /, and the minimum degree orderings, colmmd and symmmd. In ordinary use, you should never need to deal with this function.
The meanings of the key parameters arespparms,
by itself, prints a description of the current settings.
values = spparms
returns a vector whose components give the current settings.
[keys,values] = spparms
returns that vector, and also returns a character matrix whose rows are the keywords for the parameters.
spparms(values),
with no output argument, sets all the parameters to the values specified by the argument vector.
value = spparms('key')
returns the current setting of one parameter.
spparms('default')
sets all the parameters to their default settings.
spparms('tight')
sets the minimum degree ordering parameters to their tight settings, which can lead to orderings with less fill-in, but which make the ordering functions themselves use more execution time.
The key parameters for default and tight settings are\ Matrix left division (backslash)
colmmd Sparse column minimum degree permutation
symmmd Sparse symmetric minimum degree ordering