foldIndexed

inline fun <E, R> ColumnVector<E>.foldIndexed(initial: R, operation: (index: UInt, acc: R, E) -> R): R(source)
inline fun <E, R> RowVector<E>.foldIndexed(initial: R, operation: (index: UInt, acc: R, E) -> R): R(source)
inline fun <E, R> Matrix<E>.foldIndexed(initial: R, operation: (rowIndex: UInt, columnIndex: UInt, acc: R, E) -> R): R(source)