sigma  0.0.0
Loading...
Searching...
No Matches
basic.hpp File Reference

Basic operations for uncertain variables. More...

#include "sigma/uncertain.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 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>
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.
 

Detailed Description

Basic operations for uncertain variables.