Sparse Vector<T>.Nonzero Count 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#
The number of nonzero components of the Vector<T>.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public override int NonzeroCount { get; }
Property Value
Int32The number of nonzero components of the Vector<T>.