Click or drag to resize

SparseVectorStorageTOfIndexedEnumerable(Int32, IEnumerableTupleInt32, T) Method

Creates a sparse vector storage from indexed values.

Namespace: Altaxo.Calc.LinearAlgebra.Storage
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static SparseVectorStorage<T> OfIndexedEnumerable(
	int length,
	IEnumerable<Tuple<int, T>> data
)

Parameters

length  Int32
The vector length.
data  IEnumerableTupleInt32, T
The indexed source data.

Return Value

SparseVectorStorageT
The initialized sparse vector storage.
See Also