kmath
common
kmath-stat
/
space.kscience.kmath.stat
/
Mean
Mean
common
class
Mean
<
T
>
(
group
:
Ring
<
T
>
,
division
:
(
T
,
count
:
Int
)
->
T
)
:
ComposableStatistic
<
T
,
Pair
<
T
,
Int
>
,
T
>
,
BlockingStatistic
<
T
,
T
>
Content copied to clipboard
Arithmetic mean
Types
Constructors
Functions
Sources
Constructors
Mean
Link copied to clipboard
common
fun
<
T
>
Mean
(
group
:
Ring
<
T
>
,
division
:
(
T
,
count
:
Int
)
->
T
)
Content copied to clipboard
Types
Companion
Link copied to clipboard
common
object
Companion
Content copied to clipboard
Functions
compose
Intermediate
Link copied to clipboard
common
open
suspend override
fun
composeIntermediate
(
first
:
Pair
<
T
,
Int
>
,
second
:
Pair
<
T
,
Int
>
)
:
Pair
<
T
,
Int
>
Content copied to clipboard
compute
Intermediate
Link copied to clipboard
common
open
suspend override
fun
computeIntermediate
(
data
:
Buffer
<
T
>
)
:
Pair
<
T
,
Int
>
Content copied to clipboard
evaluate
Link copied to clipboard
common
open
suspend override
fun
evaluate
(
data
:
Buffer
<
T
>
)
:
T
Content copied to clipboard
evaluate
Blocking
Link copied to clipboard
common
open
override
fun
evaluateBlocking
(
data
:
Buffer
<
T
>
)
:
T
Content copied to clipboard
to
Result
Link copied to clipboard
common
open
suspend override
fun
toResult
(
intermediate
:
Pair
<
T
,
Int
>
)
:
T
Content copied to clipboard
Sources
common source
Link copied to clipboard