UniformHistogramGroupND

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>

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

Parameters

bufferFactory

is an optional parameter used to optimize buffer production.

Constructors

Link copied to clipboard
fun <V : Any, A : Field<V>> UniformHistogramGroupND(valueAlgebraND: FieldOpsND<V, A>, lower: Buffer<Double>, upper: Buffer<Double>, binNums: IntArray = IntArray(lower.size) { 20 }, bufferFactory: BufferFactory<V> = Buffer.Companion::boxing)

Functions

Link copied to clipboard
open override fun add(left: HistogramND<Double, HyperSquareDomain, V>, right: HistogramND<Double, HyperSquareDomain, V>): HistogramND<Double, HyperSquareDomain, V>
Link copied to clipboard
open fun binaryOperation(operation: String, left: HistogramND<Double, HyperSquareDomain, V>, right: HistogramND<Double, HyperSquareDomain, V>): HistogramND<Double, HyperSquareDomain, V>
Link copied to clipboard
open override fun binaryOperationFunction(operation: String): (left: HistogramND<Double, HyperSquareDomain, V>, right: HistogramND<Double, HyperSquareDomain, V>) -> HistogramND<Double, HyperSquareDomain, V>
Link copied to clipboard
open fun bindSymbol(value: String): HistogramND<Double, HyperSquareDomain, V>
Link copied to clipboard
open fun bindSymbolOrNull(value: String): HistogramND<Double, HyperSquareDomain, V>?
Link copied to clipboard
open operator fun HistogramND<Double, HyperSquareDomain, V>.div(k: Number): HistogramND<Double, HyperSquareDomain, V>
Link copied to clipboard
open fun export(arg: HistogramND<Double, HyperSquareDomain, V>): HistogramND<Double, HyperSquareDomain, V>
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
Link copied to clipboard
open operator fun HistogramND<Double, HyperSquareDomain, V>.plus(arg: HistogramND<Double, HyperSquareDomain, V>): HistogramND<Double, HyperSquareDomain, V>
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
open override fun scale(a: HistogramND<Double, HyperSquareDomain, V>, value: Double): HistogramND<Double, HyperSquareDomain, V>
Link copied to clipboard
open operator fun Number.times(arg: HistogramND<Double, HyperSquareDomain, V>): HistogramND<Double, HyperSquareDomain, V>
open operator fun HistogramND<Double, HyperSquareDomain, V>.times(k: Number): HistogramND<Double, HyperSquareDomain, V>
Link copied to clipboard
open operator override fun HistogramND<Double, HyperSquareDomain, V>.unaryMinus(): HistogramND<Double, HyperSquareDomain, V>
Link copied to clipboard
open fun unaryOperation(operation: String, arg: HistogramND<Double, HyperSquareDomain, V>): HistogramND<Double, HyperSquareDomain, V>
Link copied to clipboard
open override fun unaryOperationFunction(operation: String): (arg: HistogramND<Double, HyperSquareDomain, V>) -> HistogramND<Double, HyperSquareDomain, V>
Link copied to clipboard
open operator fun HistogramND<Double, HyperSquareDomain, V>.unaryPlus(): HistogramND<Double, HyperSquareDomain, V>

Properties

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

Sources

Link copied to clipboard