88 const double &epsilon,
98 static double sphbesj(
const int l,
108 static void sphbesj(
const int n,
109 const double*
const r,
117 const double*
const r,
140 bool return_all =
false
148 static void BESSJY(
double x,
double xnu,
double *rj,
double *ry,
double *rjp,
double *ryp);
150 static void BESCHB(
double x,
double *gam1,
double *gam2,
double *gampl,
double *gammi);
152 static double CHEBEV(
double a,
double b,
double c[],
int m,
double x);
154 static int IMAX(
int a,
int b);
161 static double illinois(std::function<
double(
double)>
func,
164 const double tol = 1e-12,
165 const int max_iter = 50);
Definition math_sphbes.h:13
static void Spherical_Bessel(const int &msh, const double *r, const double &q, const int &l, double *jl)
spherical bessel jl(qr)
Definition math_sphbes.cpp:435
static double _sphbesj_ascending_recurrence(int l, double x)
Definition math_sphbes.cpp:699
static double illinois(std::function< double(double)> func, double x0, double x1, const double tol=1e-12, const int max_iter=50)
Definition math_sphbes.cpp:887
Sphbes()
Definition math_sphbes.cpp:11
static void BESCHB(double x, double *gam1, double *gam2, double *gampl, double *gammi)
Definition math_sphbes.cpp:265
static double sphbesj(const int l, const double x)
spherical Bessel function of the first kind
Definition math_sphbes.cpp:745
~Sphbes()
Definition math_sphbes.cpp:12
static int IMAX(int a, int b)
Definition math_sphbes.cpp:258
static double dsphbesj(const int l, const double x)
derivative of spherical Bessel function
Definition math_sphbes.cpp:790
static void Spherical_Bessel_Roots(const int &num, const int &l, const double &epsilon, double *eigenvalue, const double &rcut)
return num eigenvalues of spherical bessel function
Definition math_sphbes.cpp:342
static void sphbes_zeros(const int l, const int n, double *const zeros, bool return_all=false)
Zeros of spherical Bessel functions.
Definition math_sphbes.cpp:821
static double _sphbesj_series(int l, double x)
Definition math_sphbes.cpp:717
static double Spherical_Bessel_7(const int n, const double &x)
Definition math_sphbes.cpp:312
static double CHEBEV(double a, double b, double c[], int m, double x)
Definition math_sphbes.cpp:285
static void dSpherical_Bessel_dx(const int &msh, const double *r, const double &q, const int &l, double *jl)
derivative of spherical bessel djl(qr)/d(qr)
Definition math_sphbes.cpp:641
static void BESSJY(double x, double xnu, double *rj, double *ry, double *rjp, double *ryp)
Definition math_sphbes.cpp:14
Definition array_pool.h:6
void zeros(std::complex< T > *u, int n)
set elements of u as zero which u is 1_d std::complex array
Definition complexarray.h:141
double func(const Vec3 &r, const std::vector< Vec3 > &R, const std::vector< double > &a, const std::vector< double > &n)
Definition test_partition.cpp:50