The CertainValue
allows representation of values with no uncertainty. It behaves just as a scalar, but can be mixed with uncertain values when performing mathematical operations and resampling.
Generic constructor
UncertainData.UncertainValues.UncertainValue
— MethodUncertainValue(x::T) where T <: Real
Create a CertainValue
instance from a scalar with no uncertainty.
Type documentation
UncertainData.UncertainValues.CertainValue
— TypeCertainValue
A simple wrapper type for values with no uncertainty (i.e. represented by a scalar).
Examples
The two following ways of constructing values without uncertainty are equivalent.
u1, u2 = CertainValue(2.2), CertainValue(6)
w1, w2 = UncertainValue(2.2), UncertainValue(6)