Mean

class Mean<T>(group: Ring<T>, division: (T, count: Int) -> T) : ComposableStatistic<T, Pair<T, Int>, T> , BlockingStatistic<T, T>

Arithmetic mean

Constructors

Link copied to clipboard
fun <T> Mean(group: Ring<T>, division: (T, count: Int) -> T)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open suspend override fun composeIntermediate(first: Pair<T, Int>, second: Pair<T, Int>): Pair<T, Int>
Link copied to clipboard
open suspend override fun computeIntermediate(data: Buffer<T>): Pair<T, Int>
Link copied to clipboard
open suspend override fun evaluate(data: Buffer<T>): T
Link copied to clipboard
open override fun evaluateBlocking(data: Buffer<T>): T
Link copied to clipboard
open suspend override fun toResult(intermediate: Pair<T, Int>): T

Sources

Link copied to clipboard