Vector<T>.NonzeroCount Property

Gets the number of nonzero elements in the vector.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
public virtual int NonzeroCount { get; }

Property Value

Int32
The number of nonzero elements of the Vector<T>.

See Also