ChebClenshaw
ClenShaw for Chebyshev polynomial expansion.
It returns :
Interface 1
INTERFACE
MODULE PURE FUNCTION ChebClenshaw(x, c) RESULT(ans)
REAL(DFP), INTENT(IN) :: x
REAL(DFP), INTENT(IN) :: c(0:)
REAL(DFP) :: ans
END FUNCTION ChebClenshaw
END INTERFACE
Interface 2
INTERFACE
MODULE PURE FUNCTION ChebClenshaw(x, c) RESULT(ans)
REAL(DFP), INTENT(IN) :: x(:)
REAL(DFP), INTENT(IN) :: c(0:)
REAL(DFP) :: ans(SIZE(x))
END FUNCTION ChebClenshaw
END INTERFACE