SparseVectorStorageTOfIndexedEnumerable(Int32, IEnumerableTupleInt32, T) Method |
Creates a sparse vector storage from indexed values.
Namespace: Altaxo.Calc.LinearAlgebra.StorageAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic 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
SparseVectorStorageTThe initialized sparse vector storage.
See Also