Abstract

We present the ORTHOPOLY software that permits to evaluate, efficiently and accurately, finite series of any classical family of orthogonal polynomials (Chebyshev, Legendre, ultraspherical or Gegenbauer, Jacobi, Hermite and Laguerre orthogonal polynomials) and their derivatives. The basic algorithm is the BCS-algorithm (Barrio–Clenshaw–Smith derivative algorithm), that permits to evaluate the kth derivative of a finite series of orthogonal polynomials at any point without obtaining before the previous derivatives. Due to the presence of rounding errors, specially in the case of high order derivatives, we introduce the compensated BCS-algorithm, based on Error-Free Transformation techniques, that permits to relegate the influence of the conditioning of the problem up to second order in the round-off unit of the computer. The BCS and compensated BCS algorithms may also give running-error bounds to provide information about the accuracy of the evaluation process. The ORTHOPOLY software includes C and Matlab versions of all the algorithms, and they are designed to be easily used in longer softwares to solve physical, mathematical, chemical or engineering problems (illustrated on the Schrödinger equation for the radial hydrogen atom). Program summaryProgram Title:ORTHOPOLYProgram Files doi:http://dx.doi.org/10.17632/n55bpy5bsr.1Licensing provisions: GPLv3Programming language: C and Matlab versionsNature of problem: Accurate numerical evaluation of finite series of classical orthogonal polynomials and their derivatives.Solution method:Barrio–Clenshaw–Smith algorithm for the evaluation of derivatives of finite series of classical orthogonal polynomials. Error-Free Transformation techniques for the Compensated Barrio–Clenshaw–Smith algorithm in order to provide accurate evaluations. Running-error techniques to provide error bounds of the evaluations.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call