ParaMonte Fortran 2.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation.
pm_quadPack::setChebExpan Interface Reference

Compute and return the series expansion of the input function values via the Chebyshev polynomials of the first kind of degrees 12 and 24 using Fast Fourier Transform method. More...

Detailed Description

Compute and return the series expansion of the input function values via the Chebyshev polynomials of the first kind of degrees 12 and 24 using Fast Fourier Transform method.

The returned coefficients are such that,

\begin{eqnarray} f(x) &=& \sum_{k = 1}^{13} \ms{cheb12}(k) \times T(k-1,x) ~, \\ f(x) &=& \sum_{k = 1}^{25} \ms{cheb24}(k) \times T(k-1,x) ~, \end{eqnarray}

where \(T(n,x)\) is the Chebyshev polynomial of the first kind of degree \(n\) evaluated at proper points.

Remarks
This generic interface is meant to be primarily by and used within the Adaptive Gauss-Kronrod quadrature routines of the parent module.
There is practically no usage for this generic interface outside of the parent module.
Parameters
[in,out]func: The input/output vector of size 25 of type real of kind any supported by the processor (e.g., RK, RK32, RK64, or RK128), containing the function values.
[out]cheb12: The output vector of the same type and kind as func, of size 13, containing the Chebyshev Coefficients of degree 12.
[out]cheb24: The output vector of the same type and kind as func, of size 25, containing the Chebyshev Coefficients of degree 24.


Possible calling interfaces

call setChebExpan(func, cheb12, cheb24)
Compute and return the series expansion of the input function values via the Chebyshev polynomials of...
This module contains classes and procedures for non-adaptive and adaptive global numerical quadrature...
Remarks
The procedures under discussion are pure.
See also
getQuadGK
getQuadErr
getQuadRomb
isFailedQuad
Test:
test_pm_quadPack


Final Remarks


If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.

  1. If you use any parts or concepts from this library to any extent, please acknowledge the usage by citing the relevant publications of the ParaMonte library.
  2. If you regenerate any parts/ideas from this library in a programming environment other than those currently supported by this ParaMonte library (i.e., other than C, C++, Fortran, MATLAB, Python, R), please also ask the end users to cite this original ParaMonte library.

This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.

Author:
Amir Shahmoradi, Oct 16, 2009, 11:14 AM, Michigan

Definition at line 4838 of file pm_quadPack.F90.


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