add: arithmetic add mult: arithmetic multiplication zero: 0 one: 1 codomain = (-infty, +infty)
Public Functions
-
ArithmeticSemiring() = default
-
~ArithmeticSemiring() = default
Public Static Functions
-
static inline double add(double a, double b)
-
static inline double mult(double a, double b)
-
static inline double zero()
-
static inline double one()