Click or drag to resize

MatrixTMapIndexed Method

Overload List
 NameDescription
Public methodMapIndexed(FuncInt32, Int32, T, T, MatrixT, Zeros) Applies a function to each value of this matrix and replaces the value in the result matrix. The index of each value (zero-based) is passed as first argument to the function. If forceMapZero is not set to true, zero values may or may not be skipped depending on the actual data storage implementation (relevant mostly for sparse matrices).
Public methodMapIndexedTU(FuncInt32, Int32, T, TU, Zeros) Applies a function to each value of this matrix and returns the results as a new matrix. The index of each value (zero-based) is passed as first argument to the function. If forceMapZero is not set to true, zero values may or may not be skipped depending on the actual data storage implementation (relevant mostly for sparse matrices).
Top
See Also