Table of Contents

Class GaussChebyshev2ndIntegrator

Namespace
NanoQL.Numerics
Assembly
NanoQL.dll

The integral over [a, b] by the Gauss-Chebyshev (second kind) quadrature of a given order, mapped from [−1, 1]: QuantLib's detail::GaussianQuadratureIntegrator<GaussChebyshev2ndIntegration>. It counts no evaluation, as QuantLib's doesn't.

public sealed class GaussChebyshev2ndIntegrator : Integrator
Inheritance
GaussChebyshev2ndIntegrator
Inherited Members

Constructors

GaussChebyshev2ndIntegrator(int)

Initializes a new instance of the GaussChebyshev2ndIntegrator class.

public GaussChebyshev2ndIntegrator(int n)

Parameters

n int

The order, positive; QuantLib's maximum number of evaluations too.

Exceptions

ArgumentOutOfRangeException

n is negative.

ArgumentException

n is zero.

Methods

GetIntegration()

The quadrature.

public GaussChebyshev2ndIntegration GetIntegration()

Returns

GaussChebyshev2ndIntegration

The quadrature, immutable.

IntegrateCore(Func<double, double>, double, double)

The rule's integral over [a, b], a below b, with the number of evaluations it made and its error estimate, if it computes one.

protected override IntegrationResult IntegrateCore(Func<double, double> f, double a, double b)

Parameters

f Func<double, double>

The integrand.

a double

The lower limit.

b double

The upper limit.

Returns

IntegrationResult

The integral, the number of evaluations and the error estimate, or null for none.