Package space.kscience.kmath.histogram
Types
Link copied to clipboard
Link copied to clipboard
interface Histogram1DBuilder<in T : Any, V : Any> : HistogramBuilder<T, V>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface HistogramGroupND<T : Comparable<T>, D : Domain<T>, V : Any> : Group<HistogramND<T, D, V>> , ScaleOperations<HistogramND<T, D, V>>
Content copied to clipboard
A space for producing histograms with values in a NDStructure
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class TreeHistogramGroup<V : Any, A : Ring<V>, ScaleOperations<V>>(valueAlgebra: A, binFactory: (Double) -> DoubleDomain1D) : Group<TreeHistogram<V>> , ScaleOperations<TreeHistogram<V>>
Content copied to clipboard
A space for univariate histograms with variable bin borders based on a tree map
Link copied to clipboard
class UniformHistogram1D<V : Any>(group: UniformHistogram1DGroup<V, *>, values: Map<Int, V>) : Histogram1D<Double, V>
Content copied to clipboard
Link copied to clipboard
class UniformHistogram1DGroup<V : Any, A : Ring<V>, ScaleOperations<V>>(valueAlgebra: A, binSize: Double, startPoint: Double) : Group<Histogram1D<Double, V>> , ScaleOperations<Histogram1D<Double, V>>
Content copied to clipboard
An algebra for uniform histograms in 1D real space
Link copied to clipboard
class UniformHistogramGroupND<V : Any, A : Field<V>>(valueAlgebraND: FieldOpsND<V, A>, lower: Buffer<Double>, upper: Buffer<Double>, binNums: IntArray, bufferFactory: BufferFactory<V>) : HistogramGroupND<Double, HyperSquareDomain, V>
Content copied to clipboard
Multivariate histogram space for hyper-square real-field bins.
Functions
Link copied to clipboard
Link copied to clipboard
fun <T : Any> HistogramBuilder<T, *>.fill(block: suspend SequenceScope<Point<T>>.() -> Unit)
Content copied to clipboard
Pass a sequence builder into histogram
Link copied to clipboard
Link copied to clipboard
fun <V : Any> UniformHistogram1DGroup<V, *>.produce(buffer: Buffer<Double>): UniformHistogram1D<V>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Histogram.Companion.uniformDoubleNDFromRanges(vararg ranges: Pair<ClosedFloatingPointRange<Double>, Int>): UniformHistogramGroupND<Double, DoubleField>
Content copied to clipboard
fun Histogram.Companion.uniformDoubleNDFromRanges(vararg ranges: ClosedFloatingPointRange<Double>): UniformHistogramGroupND<Double, DoubleField>
Content copied to clipboard
Link copied to clipboard
fun <V : Any, A : Field<V>> Histogram.Companion.uniformNDFromRanges(valueAlgebraND: FieldOpsND<V, A>, vararg ranges: Pair<ClosedFloatingPointRange<Double>, Int>, bufferFactory: BufferFactory<V> = Buffer.Companion::boxing): UniformHistogramGroupND<V, A>
Content copied to clipboard
fun <V : Any, A : Field<V>> Histogram.Companion.uniformNDFromRanges(valueAlgebraND: FieldOpsND<V, A>, vararg ranges: ClosedFloatingPointRange<Double>, bufferFactory: BufferFactory<V> = Buffer.Companion::boxing): UniformHistogramGroupND<V, A>
Content copied to clipboard
Use it like