imate.AffineMatrixFunction.get_nnz#

AffineMatrixFunction.get_nnz()#

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

Returns:
nnzint

Number of nonzero elements of the matrix.