multik-core
0.2.0
common
multik-core
/
org.jetbrains.kotlinx.multik.api.linalg
/
norm
norm
common
@
JvmName
(
name
=
"normF"
)
fun
LinAlg
.
norm
(
mat
:
MultiArray
<
Float
,
D2
>
,
norm
:
Norm
=
Norm.Fro
)
:
Float
Content copied to clipboard
Returns norm of float matrix
@
JvmName
(
name
=
"normD"
)
fun
LinAlg
.
norm
(
mat
:
MultiArray
<
Double
,
D2
>
,
norm
:
Norm
=
Norm.Fro
)
:
Double
Content copied to clipboard
Returns norm of double matrix