Open CASCADE Technology 6.6.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.

#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.

 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

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

Member Function Documentation

void math_GaussSingleIntegration::Dump ( Standard_OStream o) const
Standard_Boolean math_GaussSingleIntegration::IsDone ( ) const
Standard_Real math_GaussSingleIntegration::Value ( ) const

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines