![]() |
![]() |
00001 #ifndef RKDerivative_H 00002 #define RKDerivative_H 00003 00004 #include "TrackPropagation/RungeKutta/interface/RKSmallVector.h" 00005 00007 00008 template <typename T, int N> 00009 class RKDerivative { 00010 public: 00011 00012 typedef T Scalar; 00013 typedef RKSmallVector<T,N> Vector; 00014 00015 virtual ~RKDerivative() {} 00016 00017 virtual Vector operator()( Scalar startPar, const Vector& startState) const = 0; 00018 00019 }; 00020 00021 #endif