imate.Matrix.get_nnz#

Matrix.get_nnz()#

Returns the number of non-zero elements of the matrix.

Returns:
nnzint

Number of nonzero elements of the matrix.