Navigation

Operators and Keywords

Function List:

C++ API

: n = nzmax (SM)

Return the amount of storage allocated to the sparse matrix SM.

Note that Octave tends to crop unused memory at the first opportunity for sparse objects. Thus, in general the value of nzmax will be the same as nnz except for some cases of user-created sparse objects.

See also: nnz, spalloc, sparse.

Package: octave