SparseVector<T>.NonzeroCount Property

Gets the number of nonzero components in the vector.

Definition

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

Property Value

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

See Also