Go to the documentation of this file.
27 #ifndef __GyotoUtils_H_
28 #define __GyotoUtils_H_
82 const double mass_sun,
const double distance_kpc,
83 const std::string unit);
96 double atof(
const char * str);
102 void help(std::string class_name);
105 std::vector<std::string>
split(std::string
const &src, std::string
const &delim);
118 double bessk(
int nn,
double xx);
120 double hypergeom (
double kappaIndex,
double thetae);
std::vector< std::string > split(std::string const &src, std::string const &delim)
Split string.
void debug(int mode)
Set debug mode.
#define size_t
If not defined in <sys/types.h>.
Definition: GyotoConfig.h:390
void help(std::string class_name)
Print help on class.
double bessk0(double xx)
Modified Bessel function K0
double bessi0(double xx)
Bessel function computation.
double hypergeom(double kappaIndex, double thetae)
Gauss hypergeometric 2F1 term for kappa-distribution synchrotron.
Gyoto ubiquitous macros and typedefs.
void verbose(int mode)
Set verbosity level.
Namespace for the Gyoto library.
Definition: GyotoAstrobj.h:43
double bessk(int nn, double xx)
Modified Bessel function.
double atof(const char *str)
Interpret C string as double.
double bessi1(double xx)
Modified Bessel function I1
double bessk1(double xx)
Modified Bessel function K1
void convert(double *const x, const std::size_t nelem, const double mass_sun, const double distance_kpc, const std::string unit)
Convert lengths (deprecated)