00001 #pragma ident "$Id: Bancroft.hpp 1161 2008-03-27 17:16:22Z ckiesch $"
00002
00008 #ifndef BANCROFT_HPP
00009 #define BANCROFT_HPP
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033 #include <vector>
00034 #include "Matrix.hpp"
00035
00036 using namespace std;
00037 using namespace gpstk;
00038
00039 namespace gpstk
00040 {
00046
00056 class Bancroft
00057 {
00058 public:
00059
00061 Bancroft()
00062 throw(Exception) : SecondSolution(4,0.0)
00063 {
00064 testInput= true;
00065 ChooseOne = true;
00066 CloseTo = 6378137.0;
00067 minPRange = 15000000.0;
00068 maxPRange = 30000000.0;
00069 minRadius = 23000000.0;
00070 maxRadius = 29000000.0;
00071 };
00072
00073
00097 int Compute( Matrix<double>& Data,
00098 Vector<double>& X )
00099 throw(Exception);
00100
00101
00105 int Compute( const Matrix<double>& Data,
00106 Vector<double>& X )
00107 throw(Exception);
00108
00109
00113 bool ChooseOne;
00114
00115
00120 double CloseTo;
00121
00122
00132 bool testInput;
00133
00134
00136 double minPRange;
00137
00138
00140 double maxPRange;
00141
00142
00145 double minRadius;
00146
00147
00150 double maxRadius;
00151
00152
00156 Vector<double> SecondSolution;
00157
00158
00160 virtual ~Bancroft() throw() {};
00161
00162
00163 };
00164
00166
00167 }
00168
00169 #endif // BANCROFT_HPP