27#ifndef __GyotoUtils_H_
28#define __GyotoUtils_H_
81 void convert(
double *
const x,
const std::size_t nelem,
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);
133 void matrix4Invert(
double ARGOUT_ARRAY2[4][4],
double const IN_ARRAY2[4][4]);
Gyoto ubiquitous macros and typedefs.
Namespace for the Gyoto library.
Definition GyotoAstrobj.h:44
std::vector< std::string > split(std::string const &src, std::string const &delim)
Split string.
void matrix4Invert(double ARGOUT_ARRAY2[4][4], double const IN_ARRAY2[4][4])
Invert 4x4 matrix.
double hypergeom(double kappaIndex, double thetae)
Gauss hypergeometric 2F1 term for kappa-distribution synchrotron.
void sphericalToCartesian(double const spos[3], double cpos[3])
Tranform from spherical 3-position to Cartesian 3-position.
double bessk1(double xx)
Modified Bessel function K1
double bessi0(double xx)
Bessel function computation.
void matrix4CircularInvert(double ARGOUT_ARRAY2[4][4], double const IN_ARRAY2[4][4])
Invert 4x4 circular spacetime metric.
int verbose()
Get verbosity level.
double bessk0(double xx)
Modified Bessel function K0
double bessi1(double xx)
Modified Bessel function I1
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)
int debug()
Get debug mode.
double atof(const char *str)
Interpret C string as double.
double bessk(int nn, double xx)
Modified Bessel function.
void cartesianToSpherical(double const cpos[3], double spos[3])
Tranform from Cartesian 3-position to spherical 3-position.
void help(std::string class_name)
Print help on class.