kmath
0.3.1-dev-RC
common
kmath-stat
/
space.kscience.kmath.stat
/
Median
Median
class
Median
<
T
>
(
comparator
:
Comparator
<
T
>
)
:
BlockingStatistic
<
T
,
T
>
(
source
)
Non-composable median
Members
Members & Extensions
Constructors
Median
Link copied to clipboard
constructor
(
comparator
:
Comparator
<
T
>
)
Types
Companion
Link copied to clipboard
object
Companion
Functions
evaluate
Link copied to clipboard
open
suspend override
fun
evaluate
(
data
:
Buffer
<
T
>
)
:
T
evaluate
Blocking
Link copied to clipboard
open
override
fun
evaluateBlocking
(
data
:
Buffer
<
T
>
)
:
T
invoke
Link copied to clipboard
operator
fun
<
T
,
R
>
BlockingStatistic
<
T
,
R
>
.
invoke
(
data
:
Buffer
<
T
>
)
:
R
suspend operator
fun
<
T
,
R
>
Statistic
<
T
,
R
>
.
invoke
(
data
:
Buffer
<
T
>
)
:
R