ValueAndError

data class ValueAndError(value: Double, dispersion: Double)

A combination of a random value and its dispersion.

dispersion must be positive.

Constructors

Link copied to clipboard
fun ValueAndError(value: Double, dispersion: Double)

Properties

Link copied to clipboard
val dispersion: Double
Link copied to clipboard
val error: Double
Link copied to clipboard
val value: Double

Extensions

Link copied to clipboard
open operator fun ValueAndError.div(arg: ValueAndError): ValueAndError
open operator fun ValueAndError.div(k: Number): ValueAndError
Link copied to clipboard
open operator fun ValueAndError.minus(arg: ValueAndError): ValueAndError
Link copied to clipboard
open operator fun ValueAndError.plus(arg: ValueAndError): ValueAndError
Link copied to clipboard
open operator fun ValueAndError.times(arg: ValueAndError): ValueAndError
open operator fun ValueAndError.times(k: Number): ValueAndError
Link copied to clipboard
open operator override fun ValueAndError.unaryMinus(): ValueAndError
Link copied to clipboard
open operator fun ValueAndError.unaryPlus(): ValueAndError

Sources

Link copied to clipboard