00001
00002
00003
00004
00005 #ifndef INCLUDED_TTAYLVAR_H
00006 #define INCLUDED_TTAYLVAR_H
00007
00008
00009 #include "taylvar.h"
00010 #include "TFINTERVAL.h"
00011
00012
00014 typedef void (*TFadiff)( TFINTERVAL *yp, const TFINTERVAL *y );
00015
00027 class TAYLOR_VAR_TAD : public TAYLOR_VAR
00028 {
00029
00030 public:
00031
00040 TAYLOR_VAR_TAD( int n, TFadiff ptadiff );
00041
00042
00045 void GenerateTerms ( const INTERVAL_VECTOR & Y,
00046 const INTERVAL & h, int k );
00047
00050 void SumTerms ( INTERVAL_MATRIX & Sum, int k );
00051
00054 void GetOneTerm ( INTERVAL_MATRIX & Yk, int k );
00055
00057 ~TAYLOR_VAR_TAD();
00058
00059 private:
00060
00062 TFINTERVAL *TFin, *TFout;
00063
00065 TFadiff GenTaylorVAR;
00066
00067 };
00068
00069
00071 typedef TAYLOR_VAR* PtrTaylGenVAR;
00072
00073 #endif