Click or drag to resize

SparseVectorStorageTOfIndexedEnumerable(Int32, IEnumerableValueTupleInt32, T) Method

Creates a sparse vector storage from indexed tuple 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<(int , T )> data
)

Parameters

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

Return Value

SparseVectorStorageT
The initialized sparse vector storage.
See Also