diff options
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h index 1d268e6..9f8d636 100644 --- a/src/utils.h +++ b/src/utils.h @@ -18,6 +18,7 @@ #endif #include <gsl/gsl_matrix.h> +#include <math.h> extern unsigned int biggest(signed int a, signed int b); extern unsigned int smallest(signed int a, signed int b); @@ -28,6 +29,8 @@ extern double angle_between_d(double x1, double y1, double z1, double x2, double extern double lambda(double voltage); extern void matrix_renormalise(gsl_matrix *m); extern double distance3d(double x1, double y1, double z1, double x2, double y2, double z2); +extern size_t skipspace(const char *s); +extern void chomp(char *s); #define rad2deg(a) ((a)*180/M_PI) #define deg2rad(a) ((a)*M_PI/180) |