fold

inline fun <E, R> ColumnVector<E>.fold(initial: R, operation: (acc: R, E) -> R): R(source)
inline fun <E, R> RowVector<E>.fold(initial: R, operation: (acc: R, E) -> R): R(source)
inline fun <E, R> Matrix<E>.fold(initial: R, operation: (acc: R, E) -> R): R(source)