VectorTEnumerateIndexed(Zeros) 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.3572.0 (4.8.3572.0)
Syntaxpublic IEnumerable<(int , T )> EnumerateIndexed(
Zeros zeros
)
Parameters
- zeros Zeros
- Specifies whether zero values may be skipped.
Return Value
IEnumerableValueTupleInt32,
TAn enumerable sequence of index-value pairs.
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