#include <Ring.h>
|
static double | add (const double &a, const double &b) |
|
static double | div (const double &a, const double &b) |
|
static double | id (const double &x) |
|
static double | max (const double &a, const double &b) |
|
static double | mul (const double &a, const double &b) |
|
static double | negate (const double &x) |
|
static double | one () |
|
static double | zero () |
|
The Real ring with addition and multiplication
Definition at line 24 of file Ring.h.
◆ add()
static double Ring::add |
( |
const double & |
a, |
|
|
const double & |
b |
|
) |
| |
|
inlinestatic |
◆ div()
static double Ring::div |
( |
const double & |
a, |
|
|
const double & |
b |
|
) |
| |
|
inlinestatic |
◆ id()
static double Ring::id |
( |
const double & |
x | ) |
|
|
inlinestatic |
◆ max()
static double Ring::max |
( |
const double & |
a, |
|
|
const double & |
b |
|
) |
| |
|
inlinestatic |
◆ mul()
static double Ring::mul |
( |
const double & |
a, |
|
|
const double & |
b |
|
) |
| |
|
inlinestatic |
◆ negate()
static double Ring::negate |
( |
const double & |
x | ) |
|
|
inlinestatic |
◆ one()
static double Ring::one |
( |
| ) |
|
|
inlinestatic |
◆ zero()
static double Ring::zero |
( |
| ) |
|
|
inlinestatic |
The documentation for this struct was generated from the following file: