ccgsl 2.7.2
C++wrappersforGnuScientificLibrary
gsl::sf::coulomb Namespace Reference

Namespace for gsl_sf_coulomb functions. More...

Functions

int wave_FG_e (double const eta, double const x, double const lam_F, int const k_lam_G, result &F, result &Fp, result &G, result &Gp, double &exp_F, double &exp_G)
 C++ version of gsl_sf_coulomb_wave_FG_e(). More...
 
template<typename DATA >
int wave_F_array (double lam_min, int kmax, double eta, double x, DATA &fc_array, double &F_exponent)
 C++ version of gsl_sf_coulomb_wave_F_array(). More...
 
template<typename DATA >
int wave_FG_array (double lam_min, int kmax, double eta, double x, DATA &fc_array, DATA &gc_array, double &F_exponent, double &G_exponent)
 C++ version of gsl_sf_coulomb_wave_FG_array(). More...
 
template<typename DATA >
int wave_FGp_array (double lam_min, int kmax, double eta, double x, DATA &fc_array, DATA &fcp_array, DATA &gc_array, DATA &gcp_array, double &F_exponent, double &G_exponent)
 C++ version of gsl_sf_coulomb_wave_FGp_array(). More...
 
template<typename DATA >
int wave_sphF_array (double lam_min, int kmax, double eta, double x, DATA &fc_array, double &F_exponent)
 C++ version of gsl_sf_coulomb_wave_sphF_array(). More...
 
int CL_e (double L, double eta, result &result)
 C++ version of gsl_sf_coulomb_CL_e(). More...
 
template<typename DATA >
int CL_array (double Lmin, int kmax, double eta, DATA &cl)
 C++ version of gsl_sf_coulomb_CL_array(). More...
 

Detailed Description

Namespace for gsl_sf_coulomb functions.

Function Documentation

◆ CL_array()

template<typename DATA >
int gsl::sf::coulomb::CL_array ( double  Lmin,
int  kmax,
double  eta,
DATA &  cl 
)
inline

C++ version of gsl_sf_coulomb_CL_array().

Parameters
LminA real value
kmaxAn integer
etaA real value
clAn array
Returns
Error code on failure

Definition at line 326 of file sf_coulomb.hpp.

References gsl::sf::eta().

◆ CL_e()

int gsl::sf::coulomb::CL_e ( double  L,
double  eta,
result result 
)
inline

C++ version of gsl_sf_coulomb_CL_e().

Parameters
LA real value
etaA real value
resultThe result as a gsl::sf::result object
Returns
Error code on failure

Definition at line 303 of file sf_coulomb.hpp.

References gsl::sf::eta().

◆ wave_F_array()

template<typename DATA >
int gsl::sf::coulomb::wave_F_array ( double  lam_min,
int  kmax,
double  eta,
double  x,
DATA &  fc_array,
double &  F_exponent 
)
inline

C++ version of gsl_sf_coulomb_wave_F_array().

Parameters
lam_minA real value
kmaxAn integer
etaA real value
xA real value
fc_arrayAn array
F_exponentA double
Returns
Error code on failure

Definition at line 175 of file sf_coulomb.hpp.

References gsl::sf::eta().

◆ wave_FG_array()

template<typename DATA >
int gsl::sf::coulomb::wave_FG_array ( double  lam_min,
int  kmax,
double  eta,
double  x,
DATA &  fc_array,
DATA &  gc_array,
double &  F_exponent,
double &  G_exponent 
)
inline

C++ version of gsl_sf_coulomb_wave_FG_array().

Parameters
lam_minA real value
kmaxAn integer
etaA real value
xA real value
fc_arrayAn array
gc_arrayAn array
F_exponentA double
G_exponentA double
Returns
Error code on failure

Definition at line 211 of file sf_coulomb.hpp.

References gsl::sf::eta().

◆ wave_FG_e()

int gsl::sf::coulomb::wave_FG_e ( double const  eta,
double const  x,
double const  lam_F,
int const  k_lam_G,
result F,
result Fp,
result G,
result Gp,
double &  exp_F,
double &  exp_G 
)
inline

C++ version of gsl_sf_coulomb_wave_FG_e().

Coulomb wave functions F_{lam_F}(eta,x), G_{lam_G}(eta,x) and their derivatives; lam_G := lam_F - k_lam_G

lam_F, lam_G > -0.5 x > 0.0

Conventions of Abramowitz+Stegun.

Because there can be a large dynamic range of values, overflows are handled gracefully. If an overflow occurs, GSL_EOVRFLW is signalled and exponent(s) are returned through exp_F, exp_G. These are such that

F_L(eta,x) = fc[k_L] * exp(exp_F) G_L(eta,x) = gc[k_L] * exp(exp_G) F_L'(eta,x) = fcp[k_L] * exp(exp_F) G_L'(eta,x) = gcp[k_L] * exp(exp_G)

Parameters
etaA real value
xA real value
lam_FA real value
k_lam_GAn integer
FA result as a gsl::sf::result object
FpA result as a gsl::sf::result object
GA result as a gsl::sf::result object
GpA result as a gsl::sf::result object
exp_FA double
exp_GA double
Returns
GSL_SUCCESS or GSLEOVERFLW

Definition at line 146 of file sf_coulomb.hpp.

References gsl::sf::eta(), and gsl::sf::ellint::F().

◆ wave_FGp_array()

template<typename DATA >
int gsl::sf::coulomb::wave_FGp_array ( double  lam_min,
int  kmax,
double  eta,
double  x,
DATA &  fc_array,
DATA &  fcp_array,
DATA &  gc_array,
DATA &  gcp_array,
double &  F_exponent,
double &  G_exponent 
)
inline

C++ version of gsl_sf_coulomb_wave_FGp_array().

Parameters
lam_minA real value
kmaxAn integer
etaA real value
xA real value
fc_arrayAn array
fcp_arrayAn array
gc_arrayAn array
gcp_arrayAn array
F_exponentA double
G_exponentA double
Returns
Error code on failure

Definition at line 254 of file sf_coulomb.hpp.

References gsl::sf::eta().

◆ wave_sphF_array()

template<typename DATA >
int gsl::sf::coulomb::wave_sphF_array ( double  lam_min,
int  kmax,
double  eta,
double  x,
DATA &  fc_array,
double &  F_exponent 
)
inline

C++ version of gsl_sf_coulomb_wave_sphF_array().

Parameters
lam_minA real value
kmaxAn integer
etaA real value
xA real value
fc_arrayAn array
F_exponentA double
Returns
Error code on failure

Definition at line 291 of file sf_coulomb.hpp.

References gsl::sf::eta().