QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
Loading...
Searching...
No Matches
Public Member Functions | List of all members
GaussChebyshevIntegration Class Reference

Gauss-Chebyshev integration. More...

#include <gaussianquadratures.hpp>

+ Inheritance diagram for GaussChebyshevIntegration:
+ Collaboration diagram for GaussChebyshevIntegration:

Public Member Functions

 GaussChebyshevIntegration (Size n)
 
- Public Member Functions inherited from GaussianQuadrature
 GaussianQuadrature (Size n, const GaussianOrthogonalPolynomial &p)
 
template<class F >
Real operator() (const F &f) const
 
Size order () const
 
const Arrayweights ()
 
const Arrayx ()
 

Additional Inherited Members

- Protected Attributes inherited from GaussianQuadrature
Array x_
 
Array w_
 

Detailed Description

Gauss-Chebyshev integration.

This class performs a 1-dimensional Gauss-Chebyshev integration.

\[ \int_{-1}^{1} f(x) \mathrm{d}x \]

The weighting function is

\[ w(x)=(1-x^2)^{-1/2} \]

Definition at line 172 of file gaussianquadratures.hpp.

Constructor & Destructor Documentation

◆ GaussChebyshevIntegration()

Definition at line 174 of file gaussianquadratures.hpp.