map

inline fun RealMatrix.map(crossinline transform: (Double) -> Double): RealMatrix
inline fun RealVector.map(transform: (Double) -> Double): RealVector