|
sigma
1.0.0
|
Basic operations for uncertain variables. More...
Go to the source code of this file.
Namespaces | |
| namespace | sigma |
| The primary namespace for the sigma library. | |
Functions | |
| template<typename T> | |
| Uncertain< T > | sigma::abs (const Uncertain< T > &a) |
| Absolute Value. | |
| template<typename T> | |
| Uncertain< T > | sigma::fabs (const Uncertain< T > &a) |
| Absolute Value. | |
| template<typename T> | |
| Uncertain< T > | sigma::abs2 (const Uncertain< T > &a) |
| The Square of the Absolute Value. | |
| template<typename T> | |
| Uncertain< T > | sigma::ceil (const Uncertain< T > &a) |
| Nearest integer not less than the given value. | |
| template<typename T> | |
| Uncertain< T > | sigma::floor (const Uncertain< T > &a) |
| Nearest integer not greater than the given value. | |
| template<typename T> | |
| Uncertain< T > | sigma::fmod (const Uncertain< T > &a, const Uncertain< T > &b) |
| Floating point module. | |
| template<typename T> | |
| Uncertain< T > | sigma::fmod (const Uncertain< T > &a, double b) |
| template<typename T> | |
| Uncertain< T > | sigma::fmod (double a, const Uncertain< T > &b) |
| template<typename T> | |
| Uncertain< T > | sigma::copysign (const Uncertain< T > &a, const Uncertain< T > &b) |
| Copy the sign of one value to another. | |
| template<typename T, typename U> | |
| Uncertain< T > | sigma::copysign (const Uncertain< T > &a, const U &b) |
| Copy the sign of one value to another. | |
| template<typename T, typename U> | |
| U | sigma::copysign (const U &a, const Uncertain< T > &b) |
| Copy the sign of one value to another. | |
| template<typename T> | |
| Uncertain< T > | sigma::trunc (const Uncertain< T > &a) |
| Remove the fractional part from a variable. | |
| template<typename T> | |
| Uncertain< T > | sigma::round (const Uncertain< T > &a) |
| Round to the nearest integar, away from zero in halfway case. | |
Basic operations for uncertain variables.