mapNotNull

inline fun <T, D : Dimension, R : Any> MultiArray<T, D>.mapNotNull(transform: (T) -> R?): NDArray<R, D>

Return a new array contains elements after applying transform.