Go to the documentation of this file. 1 #ifndef _ButcherTableau_h_
2 #define _ButcherTableau_h_
23 class ButcherTableau {
31 inline const std::string &
name()
const;
34 inline unsigned int order()
const;
37 inline unsigned int nSteps()
const;
40 inline double &
A(
unsigned int i,
unsigned int j);
41 inline double &
b(
unsigned int i);
42 inline double &
c(
unsigned int i);
45 inline const double &
A(
unsigned int i,
unsigned int j)
const;
46 inline const double &
b(
unsigned int i)
const;
47 inline const double &
c(
unsigned int i)
const;
52 std::vector< std::vector<double> > _A;
53 std::vector<double> _b;
54 std::vector<double> _c;
60 class EulerTableau:
public ButcherTableau {
66 class MidpointTableau:
public ButcherTableau {
72 class TrapezoidTableau:
public ButcherTableau {
78 class RK31Tableau:
public ButcherTableau {
84 class RK32Tableau:
public ButcherTableau {
90 class ClassicalRungeKuttaTableau:
public ButcherTableau {
96 class ThreeEighthsRuleTableau:
public ButcherTableau {
107 #include "CLHEP/GenericFunctions/ButcherTableau.icc"
std::ostream & operator<<(std::ostream &, const BasicVector3D< float > &)
ClassicalRungeKuttaTableau()
double & b(unsigned int i)
const std::string & name() const
double & A(unsigned int i, unsigned int j)
ThreeEighthsRuleTableau()
double & c(unsigned int i)
unsigned int order() const
unsigned int nSteps() const
ButcherTableau(const std::string &name, unsigned int order)