multik-core
0.2.0
common
multik-core
/
org.jetbrains.kotlinx.multik.api.math
/
Math
/
max
max
common
abstract
fun
<
T
:
Number
,
D
:
Dimension
>
max
(
a
:
MultiArray
<
T
,
D
>
)
:
T
Content copied to clipboard
Returns maximum element of the given ndarray.
abstract
fun
<
T
:
Number
,
D
:
Dimension
,
O
:
Dimension
>
max
(
a
:
MultiArray
<
T
,
D
>
,
axis
:
Int
)
:
NDArray
<
T
,
O
>
Content copied to clipboard
Returns maximum of an ndarray
a
along a given
axis
.