BaseDistribution.hpp

Go to the documentation of this file.
00001 #pragma ident "$Id: BaseDistribution.hpp 1389 2008-09-04 17:06:43Z ckiesch $"
00002 
00008 #ifndef BASEDISTRIBUTION_HPP
00009 #define BASEDISTRIBUTION_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 ). 2008
00030 //
00031 //============================================================================
00032 
00033 
00034 #include <cmath>
00035 #include "SpecialFunctions.hpp"
00036 #include "Exception.hpp"
00037 
00038 
00039 namespace gpstk
00040 {
00041 
00044 
00046    class BaseDistribution
00047    {
00048    public:
00049 
00050 
00052       virtual double pdf(double x) = 0;
00053 
00054 
00056       virtual double cdf(double x) = 0;
00057 
00058 
00059    };  // End of class "BaseDistribution"
00060 
00062 
00063 }  // End of namespace gpstk
00064 #endif   // BASEDISTRIBUTION_HPP

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