Difference between revisions of "Keep rank.m"

From Spinach Documentation Wiki
Jump to: navigation, search
m (Rename Arguments section heading to Parameters)
(Update function See also links and function index membership)
 
Line 19: Line 19:
  
 
==See also==
 
==See also==
[[Kernel_utilities#Numerical_infrastructure|Numerical infrastructure]], [[frob_chop.m]], [[ttclass/shrink.m]]
+
[[frob_chop.m]], [[ttclass/shrink.m]], [[acomm.m]], [[arnoldi.m]], [[atranspose.m]], [[aux_mat.m]], [[binpack.m]], [[cheap_norm.m]], [[cheb_coeff.m]], [[clean_up.m]], [[dirdiff.m]], [[eigenfields.m]], [[expdrop.m]], [[expmint.m]], [[expmint2.m]], [[fftdiff.m]], [[fourdif.m]], [[fourlap.m]], [[gaussfun.m]], [[hdot.m]], [[herm_spline.m]], [[jacobianest.m]], [[krondelta.m]], [[kronm_new.m]], [[logfactorial.m]], [[lorentzcon.m]], [[lorentzfun.m]], [[md5_hash.m]], [[mprealloc.m]], [[remncomm.m]], [[remtrace.m]], [[rspert.m]], [[rspt_eig.m]], [[snormpdf.m]], [[svd_shrink.m]], [[tikhoind.m]], [[tikhonov.m]], [[trapdiff.m]], [[unit_oper.m]], [[unit_state.m]], [[vvpert.m]], [[Kernel_utilities]]
  
 
''Version 2.5, authors: [[Ilya Kuprov]]''
 
''Version 2.5, authors: [[Ilya Kuprov]]''

Latest revision as of 19:38, 6 June 2026

Truncates the singular value decomposition at the specified rank and reassembles the matrix.

Syntax

    A=keep_rank(A,rank)

Parameters

        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

frob_chop.m, ttclass/shrink.m, acomm.m, arnoldi.m, atranspose.m, aux_mat.m, binpack.m, cheap_norm.m, cheb_coeff.m, clean_up.m, dirdiff.m, eigenfields.m, expdrop.m, expmint.m, expmint2.m, fftdiff.m, fourdif.m, fourlap.m, gaussfun.m, hdot.m, herm_spline.m, jacobianest.m, krondelta.m, kronm_new.m, logfactorial.m, lorentzcon.m, lorentzfun.m, md5_hash.m, mprealloc.m, remncomm.m, remtrace.m, rspert.m, rspt_eig.m, snormpdf.m, svd_shrink.m, tikhoind.m, tikhonov.m, trapdiff.m, unit_oper.m, unit_state.m, vvpert.m, Kernel_utilities

Version 2.5, authors: Ilya Kuprov