sigma  1.0.0
Loading...
Searching...
No Matches
basic.hpp
Go to the documentation of this file.
1#pragma once
3
7
8namespace sigma {
9
19template<typename T>
21
31template<typename T>
33
43template<typename T>
45
57template<typename T>
59
71template<typename T>
73
84template<typename T>
85Uncertain<T> fmod(const Uncertain<T>& a, const Uncertain<T>& b);
87template<typename T>
88Uncertain<T> fmod(const Uncertain<T>& a, double b);
90template<typename T>
91Uncertain<T> fmod(double a, const Uncertain<T>& b);
92
103template<typename T>
105
117template<typename T, typename U>
118Uncertain<T> copysign(const Uncertain<T>& a, const U& b);
119
131template<typename T, typename U>
132U copysign(const U& a, const Uncertain<T>& b);
133
143template<typename T>
145
155template<typename T>
157
158} // namespace sigma
159
160#include "basic.ipp"
Models an unceratin variable.
Definition uncertain.hpp:34
The primary namespace for the sigma library.
Definition affine.hpp:12
Affine< T > abs(const Affine< T > &a)
Absolute Value of an affine form.
Definition basic.ipp:8
Affine< T > fabs(const Affine< T > &a)
Absolute Value of an affine form.
Definition basic.ipp:25
Uncertain< T > round(const Uncertain< T > &a)
Round to the nearest integar, away from zero in halfway case.
Definition basic.ipp:82
Uncertain< T > floor(const Uncertain< T > &a)
Nearest integer not greater than the given value.
Definition basic.ipp:30
Uncertain< T > abs2(const Uncertain< T > &a)
The Square of the Absolute Value.
Definition basic.ipp:20
Uncertain< T > ceil(const Uncertain< T > &a)
Nearest integer not less than the given value.
Definition basic.ipp:25
Uncertain< T > copysign(const Uncertain< T > &a, const Uncertain< T > &b)
Copy the sign of one value to another.
Definition basic.ipp:59
Uncertain< T > trunc(const Uncertain< T > &a)
Remove the fractional part from a variable.
Definition basic.ipp:77
Uncertain< T > fmod(const Uncertain< T > &a, const Uncertain< T > &b)
Floating point module.
Definition basic.ipp:35
Defines the Uncertain class.