Bancroft.hpp

Go to the documentation of this file.
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 //  This file is part of GPSTk, the GPS Toolkit.
00014 //
00015 //  The GPSTk is free software; you can redistribute it and/or modify
00016 //  it under the terms of the GNU Lesser General Public License as published
00017 //  by the Free Software Foundation; either version 2.1 of the License, or
00018 //  any later version.
00019 //
00020 //  The GPSTk is distributed in the hope that it will be useful,
00021 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
00022 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00023 //  GNU Lesser General Public License for more details.
00024 //
00025 //  You should have received a copy of the GNU Lesser General Public
00026 //  License along with GPSTk; if not, write to the Free Software Foundation,
00027 //  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00028 //
00029 //  Dagoberto Salazar - gAGE ( http://www.gage.es ). 2006/2007
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    }; // end class Bancroft
00164 
00166 
00167 } // namespace gpstk
00168 
00169 #endif   // BANCROFT_HPP

Generated on Wed Feb 8 03:30:57 2012 for GPS ToolKit Software Library by  doxygen 1.3.9.1