NiHu  2.0
NiHu::bessel Namespace Reference

namespace encapsulating Bessel functions More...

Classes

struct  make_complex
 metafunction converting a floating point type to a complex type More...
 
struct  make_complex< std::complex< T > >
 

Functions

template<>
std::complex< double > K< 0 > (std::complex< double > const &z)
 
template<>
std::complex< double > K< 1 > (std::complex< double > const &z)
 
const double large_lim (7.)
 limit between small and large argument series
 
template<class T >
void mag_arg_large (int nu, T const &z, T &u, T &phi)
 large argument Bessel function Taylor series coefficients More...
 
template<int nu, class T >
J_small (T const &z)
 small argument expansion of J_nu(z) for nu = 0, 1, 2 More...
 
template<int nu, class T >
J_large (T const &z)
 large argument expansion of J_nu(z) for nu = 0, 1, 2 More...
 
template<int nu, class T >
J (T const &z)
 Bessel function J_nu(z) More...
 
template<int nu>
std::complex< double > Y_small (std::complex< double > const &z)
 small argument expansion of Y_nu(z) More...
 
template<int nu>
std::complex< double > Y_large (std::complex< double > const &z)
 large argument expansion of Y_nu(z) for nu = 0, 1, 2 More...
 
template<int nu>
std::complex< double > Y (std::complex< double > const &z)
 Bessel function Y_nu(z) More...
 
template<int nu, int kind, class T >
make_complex< T >::type H_large (T const &z)
 large argument expansion of H^(K)_nu(z) More...
 
template<int nu, int kind, class T >
make_complex< T >::type H (T const &z)
 H^(K)_nu(z) Bessel function. More...
 
template<int nu, class T >
make_complex< T >::type K (T const &z)
 K_nu(z) modified Bessel function. More...
 

Detailed Description

namespace encapsulating Bessel functions

Function Documentation

◆ H()

template<int nu, int kind, class T >
make_complex<T>::type NiHu::bessel::H ( T const &  z)

H^(K)_nu(z) Bessel function.

Template Parameters
nuthe Bessel function's order
kindthe Bessel function's kind
Tthe Bessel argument type
Parameters
[in]zthe argument
Returns
H^(2)_nu(z)

Definition at line 365 of file math_functions.hpp.

◆ H_large()

template<int nu, int kind, class T >
make_complex<T>::type NiHu::bessel::H_large ( T const &  z)

large argument expansion of H^(K)_nu(z)

Template Parameters
nuthe Bessel function's order
Tthe Bessel argument type
Parameters
[in]zthe argument
Returns
H^(2)_nu(z)

Definition at line 328 of file math_functions.hpp.

◆ J()

template<int nu, class T >
T NiHu::bessel::J ( T const &  z)

Bessel function J_nu(z)

Template Parameters
nuthe Bessel function's order
Tthe Bessel argument type
Parameters
[in]zthe argument
Returns
J_nu(z)

Definition at line 223 of file math_functions.hpp.

◆ J_large()

template<int nu, class T >
T NiHu::bessel::J_large ( T const &  z)

large argument expansion of J_nu(z) for nu = 0, 1, 2

Template Parameters
nuthe Bessel function's order
Tthe Bessel argument type
Parameters
[in]zthe argument
Returns
J_nu(z)

Definition at line 195 of file math_functions.hpp.

◆ J_small()

template<int nu, class T >
T NiHu::bessel::J_small ( T const &  z)

small argument expansion of J_nu(z) for nu = 0, 1, 2

Template Parameters
nuthe Bessel function's order
Tthe Bessel argument type
Parameters
[in]zthe argument
Returns
J_nu(z)

Definition at line 172 of file math_functions.hpp.

◆ K()

template<int nu, class T >
make_complex<T>::type NiHu::bessel::K ( T const &  z)

K_nu(z) modified Bessel function.

Template Parameters
nuthe Bessel function's order
Tthe Bessel argument type
Parameters
[in]zthe argument
Returns
K_nu(z)

◆ mag_arg_large()

template<class T >
void NiHu::bessel::mag_arg_large ( int  nu,
T const &  z,
T &  u,
T &  phi 
)

large argument Bessel function Taylor series coefficients

Template Parameters
Tthe argument type
Parameters
[in]nuthe Bessel function order
[in]zthe Bessel argument
[out]uthe magnitude approximation
[out]phithe phase approximation

Definition at line 91 of file math_functions.hpp.

◆ Y()

template<int nu>
std::complex<double> NiHu::bessel::Y ( std::complex< double > const &  z)

Bessel function Y_nu(z)

Template Parameters
nuthe Bessel function's order
Parameters
[in]zthe argument
Returns
Y_nu(z)

Definition at line 315 of file math_functions.hpp.

◆ Y_large()

template<int nu>
std::complex<double> NiHu::bessel::Y_large ( std::complex< double > const &  z)

large argument expansion of Y_nu(z) for nu = 0, 1, 2

Template Parameters
nuthe Bessel function's order
Parameters
[in]zthe argument
Returns
Y_nu(z)

Definition at line 284 of file math_functions.hpp.

◆ Y_small()

template<int nu>
std::complex<double> NiHu::bessel::Y_small ( std::complex< double > const &  z)

small argument expansion of Y_nu(z)

Template Parameters
nuthe Bessel function's order
Parameters
[in]zthe argument
Returns
Y_nu(z)

Definition at line 236 of file math_functions.hpp.