kmath
0.3.1-dev-RC
common
kmath-stat
/
space.kscience.kmath.stat
/
ValueAndError
Value
And
Error
data
class
ValueAndError
(
val
value
:
Double
,
val
dispersion
:
Double
)
(
source
)
A combination of a random
value
and its
dispersion
.
dispersion
must be positive.
Members
Members & Extensions
Constructors
Value
And
Error
Link copied to clipboard
constructor
(
value
:
Double
,
dispersion
:
Double
)
Functions
div
Link copied to clipboard
open
operator
fun
ValueAndError
.
div
(
arg
:
ValueAndError
)
:
ValueAndError
open
operator
fun
ValueAndError
.
div
(
k
:
Number
)
:
ValueAndError
minus
Link copied to clipboard
open
operator
fun
ValueAndError
.
minus
(
arg
:
ValueAndError
)
:
ValueAndError
plus
Link copied to clipboard
open
operator
fun
ValueAndError
.
plus
(
arg
:
ValueAndError
)
:
ValueAndError
times
Link copied to clipboard
open
operator
fun
ValueAndError
.
times
(
arg
:
ValueAndError
)
:
ValueAndError
open
operator
fun
ValueAndError
.
times
(
k
:
Number
)
:
ValueAndError
unary
Minus
Link copied to clipboard
open
operator override
fun
ValueAndError
.
unaryMinus
(
)
:
ValueAndError
unary
Plus
Link copied to clipboard
open
operator
fun
ValueAndError
.
unaryPlus
(
)
:
ValueAndError
Properties
dispersion
Link copied to clipboard
val
dispersion
:
Double
error
Link copied to clipboard
val
error
:
Double
value
Link copied to clipboard
val
value
:
Double