Open CASCADE Technology  7.4.0
Public Member Functions

math_GaussSingleIntegration Class Reference

This class implements the integration of a function of a single variable between the parameter bounds Lower and Upper. Warning: Order must be inferior or equal to 61. More...

#include <math_GaussSingleIntegration.hxx>

Public Member Functions

 math_GaussSingleIntegration ()
 
 math_GaussSingleIntegration (math_Function &F, const Standard_Real Lower, const Standard_Real Upper, const Standard_Integer Order)
 The Gauss-Legendre integration with N = Order points of integration, is done on the function F between the bounds Lower and Upper. More...
 
 math_GaussSingleIntegration (math_Function &F, const Standard_Real Lower, const Standard_Real Upper, const Standard_Integer Order, const Standard_Real Tol)
 The Gauss-Legendre integration with N = Order points of integration and given tolerance = Tol is done on the function F between the bounds Lower and Upper. More...
 
Standard_Boolean IsDone () const
 returns True if all has been correctly done. More...
 
Standard_Real Value () const
 returns the value of the integral. More...
 
void Dump (Standard_OStream &o) const
 Prints information on the current state of the object. More...
 

Detailed Description

This class implements the integration of a function of a single variable between the parameter bounds Lower and Upper. Warning: Order must be inferior or equal to 61.

Constructor & Destructor Documentation

◆ math_GaussSingleIntegration() [1/3]

math_GaussSingleIntegration::math_GaussSingleIntegration ( )

◆ math_GaussSingleIntegration() [2/3]

math_GaussSingleIntegration::math_GaussSingleIntegration ( math_Function F,
const Standard_Real  Lower,
const Standard_Real  Upper,
const Standard_Integer  Order 
)

The Gauss-Legendre integration with N = Order points of integration, is done on the function F between the bounds Lower and Upper.

◆ math_GaussSingleIntegration() [3/3]

math_GaussSingleIntegration::math_GaussSingleIntegration ( math_Function F,
const Standard_Real  Lower,
const Standard_Real  Upper,
const Standard_Integer  Order,
const Standard_Real  Tol 
)

The Gauss-Legendre integration with N = Order points of integration and given tolerance = Tol is done on the function F between the bounds Lower and Upper.

Member Function Documentation

◆ Dump()

void math_GaussSingleIntegration::Dump ( Standard_OStream o) const

Prints information on the current state of the object.

◆ IsDone()

Standard_Boolean math_GaussSingleIntegration::IsDone ( ) const

returns True if all has been correctly done.

◆ Value()

Standard_Real math_GaussSingleIntegration::Value ( ) const

returns the value of the integral.


The documentation for this class was generated from the following file: