Kindfield
|
Calculates the Boys function efficiently for any argument and level. More...
#include <boysfunction.h>
Public Member Functions | |
BoysFunction () | |
BoysFunction (double arg, int levelMax=0, BoysFunctionIntermediate *intermediate=0) | |
void | set (double arg, int levelMax=0, BoysFunctionIntermediate *intermediate=0) |
double | result (int level=0) const |
Static Public Member Functions | |
static double | calculateAsymptopticForm (double arg, int level) |
static double | calculateTaylorExpansion (double arg, int level) |
static double | calculateZeroLevel (double arg) |
static double | doubleFactorial (double n) |
static double | factorial (double n) |
Protected Attributes | |
vec | m_results |
BoysFunctionIntermediate * | m_intermediate |
Calculates the Boys function efficiently for any argument and level.
The argument and the highest level is specified upon construction, while the other levels are fetched on demand.
Definition at line 10 of file boysfunction.h.
BoysFunction::BoysFunction | ( | ) |
Definition at line 15 of file boysfunction.cpp.
BoysFunction::BoysFunction | ( | double | arg, |
int | levelMax = 0 , |
||
BoysFunctionIntermediate * | intermediate = 0 |
||
) |
Definition at line 20 of file boysfunction.cpp.
|
static |
Definition at line 56 of file boysfunction.cpp.
|
static |
Definition at line 86 of file boysfunction.cpp.
|
static |
Definition at line 95 of file boysfunction.cpp.
|
static |
Definition at line 63 of file boysfunction.cpp.
|
static |
Definition at line 74 of file boysfunction.cpp.
double BoysFunction::result | ( | int | level = 0 ) | const |
Definition at line 105 of file boysfunction.cpp.
void BoysFunction::set | ( | double | arg, |
int | levelMax = 0 , |
||
BoysFunctionIntermediate * | intermediate = 0 |
||
) |
Definition at line 25 of file boysfunction.cpp.
|
protected |
Definition at line 28 of file boysfunction.h.
|
protected |
Definition at line 27 of file boysfunction.h.