ATLAS Offline Software
|
#include <PolygonBase.h>
Public Member Functions | |
PolygonBase (const std::vector< double > &x) | |
Constructor: the vector x contains the abscissae of the base points of the polygon. More... | |
double | value (const int &k, const double &x) const |
get the value of the k-th base More... | |
Private Member Functions | |
void | init (const std::vector< double > &x) |
Private Attributes | |
std::vector< double > | m_x |
This class provides functions which allow the user to express a polygon as a linear combination of these functions.
Definition at line 42 of file PolygonBase.h.
|
inline |
Constructor: the vector x contains the abscissae of the base points of the polygon.
x must contain the abscissae in increasing order.
Definition at line 46 of file PolygonBase.h.
|
private |
Definition at line 12 of file PolygonBase.cxx.
get the value of the k-th base
function in x
Implements MuonCalib::BaseFunction.
Definition at line 40 of file PolygonBase.cxx.
|
private |
Definition at line 59 of file PolygonBase.h.