This module provides Piessens Algorithm 473 from the Communications of the
ACM, January 1974, Volume 17, Number 1.

Its unrestricted use in a computer is permitted.

This Algorithm transforms a known Chebyshev expansion into a Legendre
expansion in N^2 time complexity.

Uses
module~~ply_legser_module~~UsesGraph
module~ply_legser_module
ply_legser_module
module~env_module
env_module
module~ply_legser_module->module~env_module
Nodes of different colours represent the following:

Graph Key
Module
Module
Submodule
Submodule
Subroutine
Subroutine
Function
Function
Program
Program
This Page's Entity
This Page's Entity
Solid arrows point from a submodule to the (sub)module which it is
descended from. Dashed arrows point from a module or program unit to
modules which it uses.

Subroutines
Subroutine to convert Chebyshev (A) to Legendre (B) coefficients.

Read more…
Arguments
Type Intent Optional Attributes Name
real(kind=rk),
intent(in)
::
A (n)Known coefficients of the Chebyshev approximation.

real(kind=rk),
intent(out)
::
B (n)Computed corresponding coefficients of the Legendre approximation.

integer,
intent(in)
::
n Number of coefficients.