MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
mtl::detail::expm_impl::adl Namespace Reference

Concepts

concept  has_exp_sinh

Functions

template<typename T>
T superdiagonal_exp (const T &a, const T &b, const T &t)
 exp of the 2x2 upper triangular block [a t; 0 b]: its (1,2) entry, t (e^b - e^a) / (b - a) = t e^((a+b)/2) sinh(d) / d, d = (b - a)/2, which does not cancel when a and b are close (Higham 2008, (10.42)).
template<typename T>
T call_exp (const T &x)

Function Documentation

◆ call_exp()

template<typename T>
T mtl::detail::expm_impl::adl::call_exp ( const T & x)

◆ superdiagonal_exp()

template<typename T>
T mtl::detail::expm_impl::adl::superdiagonal_exp ( const T & a,
const T & b,
const T & t )

exp of the 2x2 upper triangular block [a t; 0 b]: its (1,2) entry, t (e^b - e^a) / (b - a) = t e^((a+b)/2) sinh(d) / d, d = (b - a)/2, which does not cancel when a and b are close (Higham 2008, (10.42)).