ErrorCommutativeMonoid

com.phasmidsoftware.number.cats.ErrorCommutativeMonoid

Lightweight wrappers representing common error metrics so that we can endow them with Cats algebra instances without dragging Number/Fuzziness context (factor, nominal value, etc.).

Each wrapper models the magnitude of an uncertainty under the assumption of independent errors. They serve as the core building blocks for folding or parallel aggregation of fuzzy quantities.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class AbsSigma(value: Double) extends AnyVal

Absolute standard deviation (σ). Suitable for additive error propagation.

Absolute standard deviation (σ). Suitable for additive error propagation.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all
object AbsSigma

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
AbsSigma.type
final case class RelSigma(value: Double) extends AnyVal

Relative standard deviation (σ / μ). Suitable for multiplicative error propagation.

Relative standard deviation (σ / μ). Suitable for multiplicative error propagation.

NOTE: uses the same rule as Gaussian.convolutionProduct for independent operands: r_xy^2 = r_x^2 + r_y^2 + (r_x r_y).

This is abolished.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all
object RelSigma

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
RelSigma.type