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.1.5
C#
A SparseVector<T> with the same value as this instance.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.5
public virtual SparseVector<T> ToSparseVector()Return Value
SparseVector<T>A SparseVector<T> with the same value as this instance.