1 // ------------------------------------------------------------------------ //
2 // This source file is part of the 'ESA Advanced Concepts Team's //
3 // Space Mechanics Toolbox' software. //
5 // The source files are for research use only, //
6 // and are distributed WITHOUT ANY WARRANTY. Use them on your own risk. //
8 // Copyright (c) 2004-2007 European Space Agency //
9 // ------------------------------------------------------------------------ //
11 #ifndef ASTRO_FUNCTIONS_H
12 #define ASTRO_FUNCTIONS_H
14 // Conversion from Mean Anomaly to Eccentric Anomaly via Kepler's equation
15 double Mean2Eccentric (const double &, const double &);
17 void Conversion(const double*, double*, double*, const double &);
19 double norm(const double*, const double*);
21 double norm2(const double*);
23 void vett(const double*, const double*, double*);
25 double tofabn(const double&, const double&, const double&);
27 void vers(const double*, double*);
29 double x2tof(const double&, const double&, const double&, const int &);