Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:31:44

0001 #ifndef RKDerivative_H
0002 #define RKDerivative_H
0003 
0004 #include "FWCore/Utilities/interface/Visibility.h"
0005 #include "RKSmallVector.h"
0006 
0007 /// Base class for derivative calculation.
0008 
0009 template <typename T, int N>
0010 class dso_internal RKDerivative {
0011 public:
0012   typedef T Scalar;
0013   typedef RKSmallVector<T, N> Vector;
0014 
0015   virtual ~RKDerivative() {}
0016 
0017   virtual Vector operator()(Scalar startPar, const Vector& startState) const = 0;
0018 };
0019 
0020 #endif