Scilab Function

nnz - number of non zero entries in a matrix

Calling Sequence

n=nnz(X)

Parameters

Description

nnz counts the number of non zero entries in a sparse or full matrix

Examples

See Also