1 #ifndef RKOne4OrderStep_H 2 #define RKOne4OrderStep_H 10 template <
typename T,
int N>
22 const Scalar hugediff = 100.;
27 return std::pair<Vector, Scalar>(
one, hugediff);
29 Vector firstHalf(solver(startPar, startState, deriv,
step / 2));
30 Vector secondHalf(solver(startPar +
step / 2, firstHalf, deriv,
step / 2));
32 return std::pair<Vector, Scalar>(secondHalf,
diff);
std::pair< Vector, T > operator()(Scalar startPar, const Vector &startState, const RKDerivative< T, N > &deriv, const RKDistance< T, N > &dist, Scalar step)
ROOT::Math::SVector< T, N > RKSmallVector
Abs< T >::type abs(const T &t)
Base class for derivative calculation.
RKSmallVector< T, N > Vector