UniformHistogramGroupND

class UniformHistogramGroupND<V : Any, A : Field<V>>(val valueAlgebraND: FieldOpsND<V, A>, lower: Buffer<Double>, upper: Buffer<Double>, binNums: IntArray = IntArray(lower.size) { 20 }, valueBufferFactory: BufferFactory<V> = valueAlgebraND.elementAlgebra.bufferFactory) : HistogramGroupND<Double, HyperSquareDomain, V> (source)

Multivariate histogram space for hyper-square real-field bins.

Parameters

valueBufferFactory

is an optional parameter used to optimize buffer production.

Constructors

Link copied to clipboard
constructor(valueAlgebraND: FieldOpsND<V, A>, lower: Buffer<Double>, upper: Buffer<Double>, binNums: IntArray = IntArray(lower.size) { 20 }, valueBufferFactory: BufferFactory<V> = valueAlgebraND.elementAlgebra.bufferFactory)

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun getDomain(index: IntArray): HyperSquareDomain

Get a bin domain represented by given index

Link copied to clipboard
open override fun getIndexOrNull(point: Buffer<Double>): IntArray

Resolve index of the bin including given point. Return null if point is outside histogram area

Link copied to clipboard
open override fun produce(builder: HistogramBuilder<Double, V>.() -> Unit): HistogramND<Double, HyperSquareDomain, V>
Link copied to clipboard
open override fun produceBin(index: IntArray, value: V): HyperSquareBin<V>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
open override val shape: ShapeND
Link copied to clipboard
open override val valueAlgebraND: FieldOpsND<V, A>
Link copied to clipboard
open override val zero: HistogramND<Double, HyperSquareDomain, V>