Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
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.

#include <math_GaussSingleIntegration.hxx>

Public Member Functions

DEFINE_STANDARD_ALLOC 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 (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.

Standard_Boolean IsDone () const
 returns True if all has been correctly done.

Standard_Real Value () const
 returns the value of the integral.

void Dump (Standard_OStream &o) const
 Prints information on the current state of the object.


Constructor & Destructor Documentation


Member Function Documentation


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