Skip to main content

GetChebyshev1RecurrenceCoeff

Recurrence coefficients are for monic and nonmonic Chebyshev1 polynomials.

Interface 1

Monic polynomials

INTERFACE
MODULE PURE SUBROUTINE GetChebyshev1RecurrenceCoeff(n, alphaCoeff, betaCoeff)
INTEGER(I4B), INTENT(IN) :: n
!! order of Chebyshev1 polynomial, it should be greater than 1
REAL(DFP), INTENT(OUT) :: alphaCoeff(0:n - 1)
REAL(DFP), INTENT(OUT) :: betaCoeff(0:n - 1)
END SUBROUTINE GetChebyshev1RecurrenceCoeff
END INTERFACE

Interface 2

INTERFACE
MODULE PURE SUBROUTINE GetChebyshev1RecurrenceCoeff2(n, A, B, C)
INTEGER(I4B), INTENT(IN) :: n
!! order of Chebyshev1 polynomial, it should be greater than 1
REAL(DFP), INTENT(OUT) :: A(0:n - 1)
!! size is n
REAL(DFP), INTENT(OUT) :: B(0:n - 1)
!! this coefficient is zero
REAL(DFP), INTENT(OUT) :: C(0:n - 1)
!! size is n
END SUBROUTINE GetChebyshev1RecurrenceCoeff2
END INTERFACE