ampsci
c++ program for high-precision atomic structure calculations of single-valence systems
Functions
SphericalBessel Namespace Reference

Wrappers for returning Spherical Bessel functions. More...

Functions

template<typename T >
JL (const int L, const T x)
 
template<typename T >
exactGSL_JL (int L, T x)
 
template<typename T >
std::vector< T > fillBesselVec (const int l, const std::vector< T > &xvec)
 Creates a vector of Jl(r) for given r.
 
template<typename T >
std::vector< T > fillBesselVec_kr (const int l, const double k, const std::vector< T > &rvec)
 

Detailed Description

Wrappers for returning Spherical Bessel functions.

Has an "exact" version, and a faster approx version (good to ~ 1.e-9)