aboutsummaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
authortaw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1>2007-10-02 13:47:39 +0000
committertaw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1>2007-10-02 13:47:39 +0000
commit49b0bf4c38f7b2ecdb25b138abc8aa5ff06267c4 (patch)
tree012dfcf4fcdc04870b829483c6d7913cfff9ef32 /src/utils.h
parentb819cd1defe15f492cd313129832383bf37ca82b (diff)
DirAx stuff
git-svn-id: svn://cook.msm.cam.ac.uk:745/diff-tomo/dtr@139 bf6ca9ba-c028-0410-8290-897cf20841d1
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h3
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)