Represents a numeric value with an optional level of fuzziness or uncertainty. Fuzziness quantifies the margin of error or uncertainty associated with the value. NOTE that this class has no obvious "raison d'etre." It is structurally the same as Real in the algebra module, but missing a lot of functionality. CONSIDER eliminating this class.
Value parameters
fuzz
An optional fuzziness object that describes the level and type of uncertainty.
Adds the provided fuzziness to the current Fuzz[T] and returns the resulting value. This method may utilize the fuzziness parameter for calculations where applicable. TESTME
Adds the provided fuzziness to the current Fuzz[T] and returns the resulting value. This method may utilize the fuzziness parameter for calculations where applicable. TESTME
Value parameters
f
the fuzziness to add, represented as a Fuzziness[T].
Attributes
Returns
a Number that represents the result of adding the provided fuzziness.
Creates a fuzziness value with zero magnitude and a Gaussian distribution. This method provides a representation of deterministic or non-fuzzy values by ensuring that the fuzziness magnitude is explicitly zero.
Creates a fuzziness value with zero magnitude and a Gaussian distribution. This method provides a representation of deterministic or non-fuzzy values by ensuring that the fuzziness magnitude is explicitly zero.
Type parameters
U
a supertype of T that also satisfies the HasValue type class constraint.
Attributes
Returns
a Fuzziness[U] instance with zero magnitude and Gaussian shape.