Difference between revisions of "Clean up.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Update function See also links and function index membership)
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
     A=clean_up(spin_system,A,nonzero_tol)
 
     A=clean_up(spin_system,A,nonzero_tol)
  
==Arguments==
+
==Parameters==
  
 
     A  - a numerical array or a cell array thereof
 
     A  - a numerical array or a cell array thereof
Line 17: Line 17:
  
 
==See also==
 
==See also==
[[tolerances.m]], [[mprealloc.m]]
+
[[tolerances.m]], [[mprealloc.m]], [[acomm.m]], [[arnoldi.m]], [[atranspose.m]], [[aux_mat.m]], [[binpack.m]], [[cheap_norm.m]], [[cheb_coeff.m]], [[dirdiff.m]], [[eigenfields.m]], [[expdrop.m]], [[expmint.m]], [[expmint2.m]], [[fftdiff.m]], [[fourdif.m]], [[fourlap.m]], [[frob_chop.m]], [[gaussfun.m]], [[hdot.m]], [[herm_spline.m]], [[jacobianest.m]], [[keep_rank.m]], [[krondelta.m]], [[kronm_new.m]], [[logfactorial.m]], [[lorentzcon.m]], [[lorentzfun.m]], [[md5_hash.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.3, authors: [[Ilya Kuprov]], [[Alex Nevzorov]]''
 
''Version 2.3, authors: [[Ilya Kuprov]], [[Alex Nevzorov]]''

Latest revision as of 19:35, 6 June 2026

Array clean-up utility. Drops non-zero elements with magnitude below the user-specified tolerance and converts between sparse and full storage de pending on the density of non-zeroes in the array.

Syntax

    A=clean_up(spin_system,A,nonzero_tol)

Parameters

    A  - a numerical array or a cell array thereof

    nonzero_tol - nonzero tolerance

Outputs

    A  - cleaned-up array

See also

tolerances.m, mprealloc.m, acomm.m, arnoldi.m, atranspose.m, aux_mat.m, binpack.m, cheap_norm.m, cheb_coeff.m, dirdiff.m, eigenfields.m, expdrop.m, expmint.m, expmint2.m, fftdiff.m, fourdif.m, fourlap.m, frob_chop.m, gaussfun.m, hdot.m, herm_spline.m, jacobianest.m, keep_rank.m, krondelta.m, kronm_new.m, logfactorial.m, lorentzcon.m, lorentzfun.m, md5_hash.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.3, authors: Ilya Kuprov, Alex Nevzorov