|
sigma
1.0.0
|
Basic operations for triplex variables. More...
#include "sigma/triplex/detail_/apply_unary.hpp"#include "sigma/triplex/triplex.hpp"#include "basic.ipp"Go to the source code of this file.
Namespaces | |
| namespace | sigma |
| The primary namespace for the sigma library. | |
Functions | |
| template<typename IntervalType> | |
| Triplex< IntervalType > | sigma::abs (const Triplex< IntervalType > &a) |
| Absolute value of a triplex. | |
| template<typename IntervalType> | |
| Triplex< IntervalType > | sigma::fabs (const Triplex< IntervalType > &a) |
| Absolute value of a triplex. | |
Basic operations for triplex variables.
Every function in the triplex operation headers works the same way: the bounds of the result are those of the corresponding interval function, the nominal value is the corresponding std function applied to the nominal value, and a finite nominal value that the bounds miss widens the bounds (see the Triplex Arithmetic documentation page). The empty triplex is returned unchanged.