Vector<T>.ToSparseVector Method

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

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public virtual SparseVector<T> ToSparseVector()

Return Value

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

See Also