sigma  1.0.0
Loading...
Searching...
No Matches
exponents.hpp
Go to the documentation of this file.
1#pragma once
3
7
8namespace sigma {
9
21template<typename T, typename U>
22Uncertain<T> pow(const Uncertain<T>& a, const U& exp);
23
34template<typename T>
36
46template<typename T>
48
58template<typename T>
60
71template<typename T>
73
83template<typename T>
85
97template<typename T>
99
109template<typename T>
111
121template<typename T>
123
133template<typename T>
135
145template<typename T>
147
158template<typename T>
159Uncertain<T> hypot(const Uncertain<T>& a, const Uncertain<T>& b);
160
172template<typename T, typename U>
173Uncertain<T> hypot(const Uncertain<T>& a, const U& b);
174
186template<typename T, typename U>
187Uncertain<T> hypot(const U& a, const Uncertain<T>& b);
188
189} // namespace sigma
190
191#include "exponents.ipp"
Models an unceratin variable.
Definition uncertain.hpp:34
The primary namespace for the sigma library.
Definition affine.hpp:12
Affine< T > exp(const Affine< T > &a)
Calculate the exponential of an affine form.
Definition exponents.ipp:30
Affine< T > pow(const Affine< T > &a, const U &exp)
Calculate the power of an affine form.
Definition exponents.ipp:71
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
Affine< T > log(const Affine< T > &a)
Calculate the natural logarithm of an affine form.
Definition exponents.ipp:50
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
Affine< T > sqrt(const Affine< T > &a)
Calculate the square root of an affine form.
Definition exponents.ipp:8
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 > cbrt(const Uncertain< T > &a)
Calculate the cube root of an uncertain variable.
Definition exponents.ipp:32
Defines the Uncertain class.