WithFuzziness

com.phasmidsoftware.number.core.numerical.WithFuzziness
See theWithFuzziness companion object

Represents a trait that provides an optional fuzzy characteristic.

This trait is used to encapsulate fuzziness-related behavior. The fuzziness is represented as an optional value of type Fuzziness[Double].

Suitable when there's a need to describe uncertain or imprecise values through a specific fuzziness model.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Exact
trait ExactNumber
class WholeNumber
object NoScalar
trait Structure
trait Functional
trait Radians
class Angle
trait Transformed
class Exponential
class InversePower
trait Scalar
trait Number
class Real
trait Fuzz[T]
class FuzzyDouble
class FuzzyNumber
class ExactNumber
trait Number
Show all

Members list

Value members

Abstract methods

def fuzz: Option[Fuzziness[Double]]

Retrieves an optional fuzziness value associated with this instance.

Retrieves an optional fuzziness value associated with this instance.

The fuzziness value, if present, provides information about the level of uncertainty or imprecision, modeled as a Fuzziness[Double].

Attributes

Returns

an Option containing the Fuzziness[Double] value if defined, or None if no fuzziness is specified.