VectorTEnumerateIndexed Method |
Returns an IEnumerable that can be used to iterate through all values of the vector and their index.
Namespace: Altaxo.Calc.LinearAlgebraAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public IEnumerable<(int , T )> EnumerateIndexed()
Return Value
IEnumerableValueTupleInt32,
T[Missing <returns> documentation for "M:Altaxo.Calc.LinearAlgebra.Vector`1.EnumerateIndexed"]
Remarks
The enumerator returns a Tuple with the first value being the element index
and the second value being the value of the element at that index.
The enumerator will include all values, even if they are zero.
See Also