sigma  1.0.0
Loading...
Searching...
No Matches
exponents.hpp File Reference

Exponent operations for general interval variables. More...

#include "sigma/interval/general_interval.hpp"
#include "exponents.ipp"

Go to the source code of this file.

Namespaces

namespace  sigma
 The primary namespace for the sigma library.

Functions

template<typename T>
GeneralInterval< T > sigma::sqrt (const GeneralInterval< T > &a)
 Calculate the square root of a general interval.
template<typename T>
GeneralInterval< T > sigma::exp (const GeneralInterval< T > &a)
 Calculate Euler's number raised to the power of a general interval.
template<typename T>
GeneralInterval< T > sigma::log (const GeneralInterval< T > &a)
 Calculate the natural logarithm of a general interval.
template<typename T, typename U>
GeneralInterval< T > sigma::pow (const GeneralInterval< T > &a, const U &exp)
 Exponentiation of a general interval.
template<typename T>
GeneralInterval< T > sigma::pow (const GeneralInterval< T > &a, const GeneralInterval< T > &exponent)
 Exponentiation of a general interval by an interval exponent.

Detailed Description

Exponent operations for general interval variables.

These follow the Interval overloads, except that an open bound is not a value the interval contains, so it never puts the argument out of domain.