CARMA C++
mathFunctions.h
1 #ifndef CARMA_SERVICES_MATH_FUNCTIONS_H
2 #define CARMA_SERVICES_MATH_FUNCTIONS_H
3 namespace carma {
4 namespace services {
5 
27  double jinc(double x);
28 
34  double bracewellJinc(double x);
35 
45  double chat(double x);
46 
54  double pchat(double x);
55 
56 
57 }
58 }
59 #endif // CARMA_SERVICES_MATH_FUNCTIONS_H
double chat(double x)
Calculate Bracewell's "Chinese hat" function: chat(x) = 0.5*(acos(x)-abs(x)*sqrt(1-x*x)) This is t...
double jinc(double x)
Calculates the "jinc" function which is J1(x)/x, where J1(x) is the Bessel function of the first kind...
double pchat(double x)
Polynomial approximation to Bracewell's Chinese hat function, from MIRIAD.
double bracewellJinc(double x)
Bracewell's jinc function = J1(pi*x)/(2*x)