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 - Ashould be compressed once values less than or equal to- tolare set to zero
- keep - If - compressis true and for a given row of- A, the diagonal coefficient is less than or equal to- tol, 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