mprealloc.m

From Spinach Documentation Wiki
Jump to: navigation, search

Preallocates an operator in the current basis.

Syntax

    A=mprealloc(spin_system,nnzpc)

Parameters

    nnzpc  -  expected number of non-zeros per column

Outputs

    A      -  all-zero sparse matrix of the appropriate
              dimension with room for the specified num-
              ber of non-zeroes

See also

unit_oper.m, unit_state.m, carrier.m, operator.m, state.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, 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, vvpert.m, Kernel_utilities

Version 2.3, authors: Ilya Kuprov