UniformHistogram1DGroup

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

An algebra for uniform histograms in 1D real space

Constructors

Link copied to clipboard
constructor(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
Link copied to clipboard
open operator fun Histogram1D<Double, V>.div(k: Number): Histogram1D<Double, V>
Link copied to clipboard
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

Fill histogram.

Link copied to clipboard
Link copied to clipboard

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
Link copied to clipboard
Link copied to clipboard
val startPoint: Double = 0.0
Link copied to clipboard
Link copied to clipboard
open override val zero: UniformHistogram1D<V>