00001 #ifndef DERIVATOR_2_H 00002 #define DERIVATOR_2_H 00003 00004 #include "derivator.h" 00005 00006 namespace afl 00007 { 00008 00013 class Derivator_2 : public Derivator 00014 { 00015 00017 public: 00028 Derivator_2( const Field* field, const Parameters& params ); 00029 00037 Derivator_2( const Field* field, const Point& delta ); 00038 00045 virtual Derivative derivative( const Point& x ) const; 00046 00051 virtual void toXML( std::ostream& doc ) const; 00052 00057 virtual Derivator* clone( ); 00058 00062 virtual const std::string& getMethod( ) const; 00063 00065 protected: 00066 static const std::string _method; 00067 }; 00068 00069 }; 00070 00071 #endif // DERIVATOR_2_H
1.4.6