00001
00006 #ifndef _NewtonRaphsonIteration_h
00007 #define _NewtonRaphsonIteration_h
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #include "../IterationData.h"
00018
00019
00020
00021
00022
00023 class NewtonRaphsonIteration
00024 : public IterationData
00025 {
00026 public:
00027
00028
00029
00032 NewtonRaphsonIteration(double startingPoint,
00033 double firstDerivative,
00034 double secondDerivative,
00035 double endPoint);
00036
00039 ~NewtonRaphsonIteration(void);
00040
00041
00042
00043
00044
00045 virtual ColumnVector EndValuePoint() const;
00046
00047 virtual vector<IterationDataIdType> ClassIds() const;
00048
00049 static IterationDataIdType ClassId();
00050
00051 double StartingPoint() const;
00052 double EndPoint() const;
00053 double FirstDerivative() const;
00054 double SecondDerivative() const;
00055
00056
00057
00058 protected:
00059 private:
00060
00061 double mStartingPoint;
00062 double mFirstDerivative;
00063 double mSecondDerivative;
00064 double mEndPoint;
00065
00066 };
00067
00068
00069
00070
00071
00072
00073
00074 #endif // _NewtonRaphsonIteration_h