1 #ifndef RKOne4OrderStep_H
2 #define RKOne4OrderStep_H
10 template <
typename T,
int N>
22 const Scalar hugediff = 100.;
25 Vector one(solver(startPar, startState, deriv,
step));
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);