Click or drag to resize

QagpIntegration Class

Adaptive integration with known singular points.
Inheritance Hierarchy
SystemObject
  Altaxo.Calc.IntegrationIntegrationBase
    Altaxo.Calc.IntegrationQagpIntegration

Namespace: Altaxo.Calc.Integration
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class QagpIntegration : IntegrationBase

The QagpIntegration type exposes the following members.

Constructors
 NameDescription
Public methodQagpIntegration Creates an instance of this integration class with a default integration rule and default debug flag setting.
Public methodQagpIntegration(Boolean) Creates an instance of this integration class with a default integration rule and specified debug flag setting.
Public methodQagpIntegration(gsl_integration_rule, Boolean) Creates an instance of this integration class with specified integration rule and specified debug flag setting.
Top
Properties
 NameDescription
Public propertyStatic memberDefaultIntegrationRule Returns the default integration rule used for this class.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIntegrate(FuncDouble, Double, Double, Double, Double, Int32, Double, Double) Adaptive integration with known singular points using the integration rule and debug setting given in the constructor.
Public methodIntegrate(FuncDouble, Double, Double, Int32, Double, Double, Int32, Double, Double) Adaptive integration with known singular points using the integration rule and debug setting given in the constructor.
Public methodIntegrate(FuncDouble, Double, Double, Double, Double, Int32, gsl_integration_rule, Boolean, Double, Double) Adaptive integration with known singular points.
Public methodIntegrate(FuncDouble, Double, Double, Int32, Double, Double, Int32, gsl_integration_rule, Boolean, Double, Double) Adaptive integration with known singular points.
Public methodStatic memberIntegration(FuncDouble, Double, Double, Int32, Double, Double, Int32, Double, Double) Adaptive integration with known singular points using default settings for integration rule and debugging.
Public methodStatic memberIntegration(FuncDouble, Double, Double, Int32, Double, Double, Int32, Double, Double, Object) Adaptive integration with known singular points using default settings for integration rule and debugging.
Public methodStatic memberIntegration(FuncDouble, Double, Double, Int32, Double, Double, Int32, gsl_integration_rule, Boolean, Double, Double) Adaptive integration with known singular points.
Public methodStatic memberIntegration(FuncDouble, Double, Double, Int32, Double, Double, Int32, gsl_integration_rule, Boolean, Double, Double, Object) Adaptive integration with known singular points.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks
This class applies the adaptive integration algorithm QAGS taking account of the user-supplied locations of singular points. The array pts of length npts should contain the endpoints of the integration ranges defined by the integration region and locations of the singularities. For example, to integrate over the region (a, b) with break-points at x1, x2, x3 (where a < x1 < x2 < x3 < b) the following pts array should be used:
C#
pts[0] = a
pts[1] = x1
pts[2] = x2
pts[3] = x3
pts[4] = b
with npts = 5. If you know the locations of the singular points in the integration region then this routine will be faster than QAGS.

Ref.: Gnu Scientific library reference manual (http://www.gnu.org/software/gsl/)

See Also