ply_legser_module Module

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 env_module env_module module~ply_legser_module->env_module

Used by

  • module~~ply_legser_module~~UsedByGraph module~ply_legser_module ply_legser_module program~ply_legser_test ply_legser_test program~ply_legser_test->module~ply_legser_module

Subroutines

public subroutine ply_legser(A, B, n)

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

Read more…

Arguments

Type IntentOptional 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.