multik-core
0.2.0
common
multik-core
/
org.jetbrains.kotlinx.multik.api.stat
/
Statistics
/
average
average
common
abstract
fun
<
T
:
Number
,
D
:
Dimension
>
average
(
a
:
MultiArray
<
T
,
D
>
,
weights
:
MultiArray
<
T
,
D
>
?
=
null
)
:
Double
Content copied to clipboard
Returns the weighted average over the
a
elements and
weights
elements.