Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
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 double Lower, const double Upper, const int 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 double Lower, const double Upper, const int Order, const double 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.
 
bool IsDone () const
 returns True if all has been correctly done.
 
double Value () const
 returns the value of the integral.
 
void Dump (Standard_OStream &o) const
 Prints information on the current state of the object.
 

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 double Lower,
const double Upper,
const int 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 double Lower,
const double Upper,
const int Order,
const double 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()

bool math_GaussSingleIntegration::IsDone ( ) const

returns True if all has been correctly done.

◆ Value()

double math_GaussSingleIntegration::Value ( ) const

returns the value of the integral.


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