multik-core
0.2.0
common
multik-core
/
org.jetbrains.kotlinx.multik.api.math
/
Math
/
sumD2
sum
D2
common
abstract
fun
<
T
:
Number
>
sumD2
(
a
:
MultiArray
<
T
,
D2
>
,
axis
:
Int
)
:
NDArray
<
T
,
D1
>
Content copied to clipboard
Returns an ndarray of sum all elements in a two-dimensional ndarray
a
over a given
axis
.