Vector<T>.To Sparse Vector Method
Creates a copy of the vector as a SparseVector<T>.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
A SparseVector<T> with the same value as this instance.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
public virtual SparseVector<T> ToSparseVector()
Return Value
SparseVector<T>A SparseVector<T> with the same value as this instance.