Algorithm 912: A Module for Calculating Cylindrical Functions of Complex Order and Complex Argument

  • Authors:
  • Masao Kodama

  • Affiliations:
  • -

  • Venue:
  • ACM Transactions on Mathematical Software (TOMS)
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

The present algorithm provides a module for calculating the cylindrical functions Jv(z), Yv(z), Hv(1)(z), and Hv(2)(z), where the order v is complex and the complex argument z satisfies −π z ≤ π. The algorithm is written in Fortran 90 and calculates the functions using real and complex numbers of any intrinsic data type whose kind type parameter the user’s Fortran system accepts. The methods of calculating the functions are based on two kinds of series expansions and numerical integration. Wronskian tests examine the functional values computed by this algorithm with double precision at 4,100,625 pseudorandom test points in the region |Re v| ≤ 60, |Im v| ≤ 60, |Re z| ≤ 300, |Im z| ≤ 300. From the results of the tests, we find that the errors of two kinds of Wronskians are less than 6.42 × 10−14.