sigma  1.0.0
Loading...
Searching...
No Matches
hyperbolic.ipp
1#pragma once
2#include <cmath>
3
4namespace sigma {
5
6template<typename IntervalType>
9 a, [](const IntervalType& x) { return sigma::sinh(x); },
10 [](auto m) { return std::sinh(m); });
11}
12
13template<typename IntervalType>
16 a, [](const IntervalType& x) { return sigma::cosh(x); },
17 [](auto m) { return std::cosh(m); });
18}
19
20template<typename IntervalType>
23 a, [](const IntervalType& x) { return sigma::tanh(x); },
24 [](auto m) { return std::tanh(m); });
25}
26
27template<typename IntervalType>
30 a, [](const IntervalType& x) { return sigma::asinh(x); },
31 [](auto m) { return std::asinh(m); });
32}
33
34template<typename IntervalType>
37 a, [](const IntervalType& x) { return sigma::acosh(x); },
38 [](auto m) { return std::acosh(m); });
39}
40
41template<typename IntervalType>
44 a, [](const IntervalType& x) { return sigma::atanh(x); },
45 [](auto m) { return std::atanh(m); });
46}
47
48} // namespace sigma
Models an interval together with a best estimate inside it.
Definition triplex.hpp:42
Triplex< IntervalType > apply_unary_(const Triplex< IntervalType > &a, BoundsFunction &&bounds_fxn, NominalFunction &&nominal_fxn)
Applies a unary function to a triplex.
Definition apply_unary.hpp:49
The primary namespace for the sigma library.
Definition affine.hpp:12
GeneralInterval< T > atanh(const GeneralInterval< T > &a)
Calculate the inverse hyperbolic tangent of a general interval.
Definition hyperbolic.ipp:75
GeneralInterval< T > tanh(const GeneralInterval< T > &a)
Calculate the hyperbolic tangent of a general interval.
Definition hyperbolic.ipp:45
GeneralInterval< T > cosh(const GeneralInterval< T > &a)
Calculate the hyperbolic cosine of a general interval.
Definition hyperbolic.ipp:17
GeneralInterval< T > acosh(const GeneralInterval< T > &a)
Calculate the inverse hyperbolic cosine of a general interval.
Definition hyperbolic.ipp:61
GeneralInterval< T > asinh(const GeneralInterval< T > &a)
Calculate the inverse hyperbolic sine of a general interval.
Definition hyperbolic.ipp:53
GeneralInterval< T > sinh(const GeneralInterval< T > &a)
Calculate the hyperbolic sine of a general interval.
Definition hyperbolic.ipp:9