Difference between revisions of "Keep rank.m"
(→See also) |
(→See also) |
||
| Line 19: | Line 19: | ||
==See also== | ==See also== | ||
| − | [[Kernel_utilities#Numerical_infrastructure|Numerical infrastructure]], [[frob_chop.m]] | + | [[Kernel_utilities#Numerical_infrastructure|Numerical infrastructure]], [[frob_chop.m]], [[ttclass/shrink.m]] |
''Version 2.5, authors: [[Ilya Kuprov]]'' | ''Version 2.5, authors: [[Ilya Kuprov]]'' | ||
Revision as of 10:59, 4 September 2020
Truncates the singular value decomposition at the specified rank and reassembles the matrix.
Syntax
A=keep_rank(A,rank)
Arguments
A - real or complex matrix, will be
converted to full if a sparse
matrix is received
rank - number of singular values to keep
Outputs
A - filtered matrix, returned as full
See also
Numerical infrastructure, frob_chop.m, ttclass/shrink.m
Version 2.5, authors: Ilya Kuprov