Package space.kscience.kmath.histogram

Types

Bin
Link copied to clipboard
common
interface Bin<T : Any> : Domain<T>
The binned data element.
Counter
Link copied to clipboard
common
interface Counter<T : Any>
Common representation for atomic counters
DomainBin
Link copied to clipboard
common
data class DomainBin<T : Comparable<T>>(domain: Domain<T>, value: Number) : Bin<T> , Domain<T>
A simple histogram bin based on domain
DoubleHistogramSpace
Link copied to clipboard
common
class DoubleHistogramSpace(lower: Buffer<Double>, upper: Buffer<Double>, binNums: IntArray) : IndexedHistogramSpace<Double, Double>
Histogram
Link copied to clipboard
common
interface Histogram<T : Any, out B : Bin<T>>
HistogramBuilder
Link copied to clipboard
common
fun fun interface HistogramBuilder<T : Any>
IndexedHistogram
Link copied to clipboard
common
class IndexedHistogram<T : Comparable<T>, V : Any>(context: IndexedHistogramSpace<T, V>, values: StructureND<V>) : Histogram<T, Bin<T>> , GroupElement<IndexedHistogram<T, V>, IndexedHistogramSpace<T, V>>
IndexedHistogramSpace
Link copied to clipboard
common
interface IndexedHistogramSpace<T : Comparable<T>, V : Any> : Group<IndexedHistogram<T, V>> , ScaleOperations<IndexedHistogram<T, V>>
A space for producing histograms with values in a NDStructure
IntCounter
Link copied to clipboard
common
class IntCounter : Counter<Int>
LongCounter
Link copied to clipboard
common
class LongCounter : Counter<Long>
ObjectCounter
Link copied to clipboard
common
class ObjectCounter<T : Any>(group: Ring<T>) : Counter<T>
TreeHistogram
Link copied to clipboard
class TreeHistogram(context: TreeHistogramSpace, binMap: TreeMap<Double, out UnivariateBin>) : UnivariateHistogram
TreeHistogramSpace
Link copied to clipboard
A space for univariate histograms with variable bin borders based on a tree map
UnivariateBin
Link copied to clipboard
class UnivariateBin(domain: UnivariateDomain, value: Double, standardDeviation: Double) : Bin<Double> , ClosedFloatingPointRange<Double>
A univariate bin based an a range
UnivariateHistogram
Link copied to clipboard
UnivariateHistogramBuilder
Link copied to clipboard
interface UnivariateHistogramBuilder : HistogramBuilder<Double>

Functions

fill
Link copied to clipboard
fun <T : Any> HistogramBuilder<T>.fill(sequence: Iterable<Point<T>>)
fun UnivariateHistogramBuilder.fill(array: DoubleArray)
fun UnivariateHistogramBuilder.fill(items: Iterable<Double>)
fun UnivariateHistogramBuilder.fill(buffer: Buffer<Double>)
common
fun <T : Any> HistogramBuilder<T>.fill(block: suspend SequenceScope<Point<T>>.() -> Unit)
Pass a sequence builder into histogram
put
Link copied to clipboard
common
fun <T : Any> HistogramBuilder<T>.put(vararg point: T)
fun <T : Any, B : Bin<T>> HistogramBuilder<T>.put(point: Point<out T>)
fun HistogramBuilder<Double>.put(vararg point: Number)
fun HistogramBuilder<Double>.put(vararg point: Double)

Properties

center
Link copied to clipboard
val UnivariateDomain.center: Double