|MATLAB Function Reference|
Amount of storage allocated for nonzero matrix elements
n = nzmax(S)
returns the amount of storage allocated for nonzero elements.
nzmax(S) are the same. But if
S is created by an operation which produces fill-in matrix elements, such as sparse matrix multiplication or sparse LU factorization, more storage may be allocated than is actually required, and
nzmax(S) reflects this. Alternatively,
sparse(i,j,s,m,n,nzmax) or its simpler form,
spalloc(m,n,nzmax), can set
nzmax in anticipation of later fill-in.
|numel||ode45, ode23, ode113, ode15s, ode23s, ode23t, ode23tb|