Histogram1DBuilder

interface Histogram1DBuilder<in T : Any, V : Any> : HistogramBuilder<T, V>

Functions

Link copied to clipboard
abstract fun putValue(at: T, value: V = defaultValue)

Thread safe put operation

open override fun putValue(point: Point<out T>, value: V)

Increment appropriate bin with given value

Properties

Link copied to clipboard
abstract val defaultValue: V

The default value increment for a bin

Extensions

Link copied to clipboard
fun Histogram1DBuilder<Double, *>.fill(items: Iterable<Double>)
fun Histogram1DBuilder<Double, *>.fill(array: DoubleArray)
fun <T : Any> Histogram1DBuilder<T, *>.fill(buffer: Buffer<T>)

Sources

Link copied to clipboard