SparseVector<T>.ToSparseVector Method

Creates a copy of the vector as a SparseVector<T>.

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
public override SparseVector<T> ToSparseVector()

Return Value

SparseVector<T>
A SparseVector<T> with the same value as this instance.

See Also