sigma  0.0.0
Loading...
Searching...
No Matches
exponents.hpp
Go to the documentation of this file.
1#pragma once
2#include "sigma/uncertain.hpp"
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:33
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:24
Uncertain< T > hypot(const Uncertain< T > &a, const Uncertain< T > &b)
Calculate the square root of the sum of squared arguments.
Definition exponents.ipp:87
Uncertain< T > log(const Uncertain< T > &a)
Calculate the natural logarithm of a variable.
Definition exponents.ipp:59
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:52
Uncertain< T > log1p(const Uncertain< T > &a)
Calculate the natural logarithm of one plus a variable.
Definition exponents.ipp:80
Uncertain< T > log2(const Uncertain< T > &a)
Calculate the base 2 logarithm of a variable.
Definition exponents.ipp:73
Uncertain< T > exp2(const Uncertain< T > &a)
Calculate 2 raised to the power of an uncertain variable.
Definition exponents.ipp:45
Uncertain< T > log10(const Uncertain< T > &a)
Calculate the base 10 logarithm of a variable.
Definition exponents.ipp:66
Uncertain< T > pow(const Uncertain< T > &a, const U &exp)
Exponentiation of a variable.
Definition exponents.ipp:9
Uncertain< T > cbrt(const Uncertain< T > &a)
Calculate the cube root of an uncertain variable.
Definition exponents.ipp:31
Uncertain< T > exp(const Uncertain< T > &a)
Calculate the Euler's number raised to the power of an uncertain variable.
Definition exponents.ipp:38
Defines the Uncertain class.