UniformHistogram1DGroup

class UniformHistogram1DGroup<V : Any, A : Ring<V>, ScaleOperations<V>>(valueAlgebra: A, binSize: Double, startPoint: Double) : Group<Histogram1D<Double, V>> , ScaleOperations<Histogram1D<Double, V>>

An algebra for uniform histograms in 1D real space

Constructors

Link copied to clipboard
fun <A : Ring<V>, ScaleOperations<V>> UniformHistogram1DGroup(valueAlgebra: A, binSize: Double, startPoint: Double = 0.0)

Functions

Link copied to clipboard
open override fun add(left: Histogram1D<Double, V>, right: Histogram1D<Double, V>): UniformHistogram1D<V>
Link copied to clipboard
open fun binaryOperation(operation: String, left: Histogram1D<Double, V>, right: Histogram1D<Double, V>): Histogram1D<Double, V>
Link copied to clipboard
open override fun binaryOperationFunction(operation: String): (left: Histogram1D<Double, V>, right: Histogram1D<Double, V>) -> Histogram1D<Double, V>
Link copied to clipboard
open fun bindSymbol(value: String): Histogram1D<Double, V>
Link copied to clipboard
open fun bindSymbolOrNull(value: String): Histogram1D<Double, V>?
Link copied to clipboard
open operator fun Histogram1D<Double, V>.div(k: Number): Histogram1D<Double, V>
Link copied to clipboard
open fun export(arg: Histogram1D<Double, V>): Histogram1D<Double, V>
Link copied to clipboard
open operator fun Histogram1D<Double, V>.minus(arg: Histogram1D<Double, V>): Histogram1D<Double, V>
Link copied to clipboard
open operator fun Histogram1D<Double, V>.plus(arg: Histogram1D<Double, V>): Histogram1D<Double, V>
Link copied to clipboard
inline fun produce(block: Histogram1DBuilder<Double, V>.() -> Unit): UniformHistogram1D<V>

Fill histogram.

Link copied to clipboard
fun produceFrom(histogram: Histogram1D<Double, V>): UniformHistogram1D<V>

Re-bin given histogram to be compatible if exiting bin fully falls inside existing bin, this bin value is increased by one. If not, all bins including values from this bin are increased by fraction (conserving the norming).

Link copied to clipboard
open override fun scale(a: Histogram1D<Double, V>, value: Double): UniformHistogram1D<V>
Link copied to clipboard
open operator fun Number.times(arg: Histogram1D<Double, V>): Histogram1D<Double, V>
open operator fun Histogram1D<Double, V>.times(k: Number): Histogram1D<Double, V>
Link copied to clipboard
open operator override fun Histogram1D<Double, V>.unaryMinus(): UniformHistogram1D<V>
Link copied to clipboard
open fun unaryOperation(operation: String, arg: Histogram1D<Double, V>): Histogram1D<Double, V>
Link copied to clipboard
open override fun unaryOperationFunction(operation: String): (arg: Histogram1D<Double, V>) -> Histogram1D<Double, V>
Link copied to clipboard
open operator fun Histogram1D<Double, V>.unaryPlus(): Histogram1D<Double, V>

Properties

Link copied to clipboard
val binSize: Double
Link copied to clipboard
val startPoint: Double = 0.0
Link copied to clipboard
val valueAlgebra: A
Link copied to clipboard
open override val zero: UniformHistogram1D<V>

Extensions

Link copied to clipboard
fun <V : Any> UniformHistogram1DGroup<V, *>.produce(buffer: Buffer<Double>): UniformHistogram1D<V>

Sources

Link copied to clipboard