MatrixTEnumerateIndexed(Zeros) Method |
Returns an IEnumerable that can be used to iterate through all values of the matrix and their index.
Namespace: Altaxo.Calc.LinearAlgebraAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic IEnumerable<(int , int , T )> EnumerateIndexed(
Zeros zeros
)
Parameters
- zeros Zeros
- Controls whether zero values may be skipped.
Return Value
IEnumerableValueTupleInt32,
Int32,
TAn enumeration of indexed matrix values.
Remarks
The enumerator returns a Tuple with the first two values being the row and column index
and the third value being the value of the element at that index.
The enumerator will include all values, even if they are zero.
See Also