28 #ifndef ENDFIELDMODEL_ENGE_H_
29 #define ENDFIELDMODEL_ENGE_H_
36 namespace endfieldmodel {
57 Enge(
const std::vector<double> a,
double x0,
double lambda);
69 void rescale(
double scaleFactor);
72 inline double function(
double x,
int n)
const;
81 std::ostream&
print(std::ostream& out)
const;
108 double getEnge(
double x,
int n)
const;
118 double hN(
double x,
int n)
const;
125 double gN(
double x,
int n)
const;
135 inline static std::vector< std::vector<int> >
getQIndex(
int n);
138 inline static std::vector< std::vector<int> >
getHIndex(
int n);
142 std::vector<double>
_a;
146 static std::vector< std::vector< std::vector<int> > >
_q;
148 static std::vector< std::vector< std::vector<int> > >
_h;
double function(double x, int n) const
static std::vector< std::vector< int > > getHIndex(int n)
std::vector< double > getCoefficients() const
double getEnge(double x, int n) const
void setLambda(double lambda)
double getEndLength() const
void setMaximumDerivative(size_t n)
static std::vector< std::vector< int > > getQIndex(int n)
double getCentreLength() const
static std::vector< std::vector< std::vector< int > > > _h
void setCoefficients(std::vector< double > a)
std::ostream & print(std::ostream &out) const
static std::vector< std::vector< std::vector< int > > > _q
static void setEngeDiffIndices(size_t n)
Enge & operator=(const Enge &enge)
double getDoubleEnge(double x, int n) const
double hN(double x, int n) const
double gN(double x, int n) const
void rescale(double scaleFactor)