sigma  1.0.0
Loading...
Searching...
No Matches
exponents.hpp
Go to the documentation of this file.
1#pragma once
2#include "sigma/interval.hpp"
3#include "sigma/uncertain.hpp"
4
8
9namespace sigma {
10
22template<typename T, typename U>
23Uncertain<T> pow(const Uncertain<T>& a, const U& exp);
24
35template<typename T>
37
47template<typename T>
49
59template<typename T>
61
72template<typename T>
74
84template<typename T>
86
98template<typename T>
100
110template<typename T>
112
122template<typename T>
124
134template<typename T>
136
146template<typename T>
148
159template<typename T>
160Uncertain<T> hypot(const Uncertain<T>& a, const Uncertain<T>& b);
161
173template<typename T, typename U>
174Uncertain<T> hypot(const Uncertain<T>& a, const U& b);
175
187template<typename T, typename U>
188Uncertain<T> hypot(const U& a, const Uncertain<T>& b);
189
199template<typename T>
201
211template<typename T>
212Interval<T> exp(const Interval<T>& a);
213
223template<typename T>
224Interval<T> log(const Interval<T>& a);
225
226} // namespace sigma
227
228#include "exponents.ipp"
Models a numeric interval.
Definition interval.hpp:21
Models an unceratin variable.
Definition uncertain.hpp:33
Defines the Interval class.
The primary namespace for the sigma library.
Definition operation_common.hpp:10
Uncertain< T > sqrt(const Uncertain< T > &a)
Calculate the square root of an uncertain variable.
Definition exponents.ipp:25
Uncertain< T > hypot(const Uncertain< T > &a, const Uncertain< T > &b)
Calculate the square root of the sum of squared arguments.
Definition exponents.ipp:88
Uncertain< T > log(const Uncertain< T > &a)
Calculate the natural logarithm of a variable.
Definition exponents.ipp:60
Uncertain< T > expm1(const Uncertain< T > &a)
Calculate the Euler's number raised to the power of an uncertain variable, then subtract 1.
Definition exponents.ipp:53
Uncertain< T > log1p(const Uncertain< T > &a)
Calculate the natural logarithm of one plus a variable.
Definition exponents.ipp:81
Uncertain< T > log2(const Uncertain< T > &a)
Calculate the base 2 logarithm of a variable.
Definition exponents.ipp:74
Uncertain< T > exp2(const Uncertain< T > &a)
Calculate 2 raised to the power of an uncertain variable.
Definition exponents.ipp:46
Uncertain< T > log10(const Uncertain< T > &a)
Calculate the base 10 logarithm of a variable.
Definition exponents.ipp:67
Uncertain< T > pow(const Uncertain< T > &a, const U &exp)
Exponentiation of a variable.
Definition exponents.ipp:10
Uncertain< T > cbrt(const Uncertain< T > &a)
Calculate the cube root of an uncertain variable.
Definition exponents.ipp:32
Uncertain< T > exp(const Uncertain< T > &a)
Calculate the Euler's number raised to the power of an uncertain variable.
Definition exponents.ipp:39
Defines the Uncertain class.