sumD2

abstract fun <T : Number> sumD2(a: MultiArray<T, D2>, axis: Int): NDArray<T, D1>

Returns an ndarray of sum all elements in a two-dimensional ndarray a over a given axis.