Skip to contents

Number of Nonzeros

Usage

nnz(x, ...)

Arguments

x

A tensor-like object.

...

Additional arguments passed to methods.

Value

Integer count of nonzero entries.