Class GaussLegendreIntegrator#

Inheritance Relationships#

Base Type#

Class Documentation#

class GaussLegendreIntegrator : public OrbitUtils::CppPyWrapper#

Public Functions

GaussLegendreIntegrator()#

This constructor creates an integrator with 1024 points and (0,1) limits

GaussLegendreIntegrator(int nPoints)#

This constructor creates an integrator with nPoints points and (0,1) limits

GaussLegendreIntegrator(int nPoints, double x_from, double x_to)#

This constructor creates an integrator with nPoints points and (x_from,x_to) limits

virtual ~GaussLegendreIntegrator()#
void setnPoints(int nPoints)#

It sets the number of integration points

int getnPoints()#

Returns the number of integration points

void setLimits(double x_from, double x_to)#

Sets the integration limits

Function *getPointsAndWeightFunc()#

Returns the Function class instance with integration points and weights

double integral(Function *func)#

Calculates integral for the Function instance

double integral(SplineCH *spline)#

Calculates integral for the cubic Hermite spline instance