MatFilter#
Set all values in the matrix with an absolute value less than or equal to the tolerance to zero, and optionally compress the underlying storage
Synopsis#
Input Parameters#
A - The matrix
tol - The zero tolerance
compress - Whether the storage from the input matrix
A
should be compressed once values less than or equal totol
are set to zerokeep - If
compress
is true and for a given row ofA
, the diagonal coefficient is less than or equal totol
, indicates whether it should be left in the structure or eliminated as well
See Also#
Matrices, Mat
, MatCreate()
, MatZeroEntries()
, MatEliminateZeros()
, VecFilter()
Level#
intermediate
Location#
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages