This is a modern Fortran implementation of the Carlson symmetric forms of elliptic integrals code from the SLATEC library. It has been extensively refactored.
A Fortran Package Manager manifest file is included, so that the library can be compiled with FPM. For example:
fpm build --profile release
fpm test --profile release
To use carson-elliptic-intergrals
within your fpm project, add the following to your fpm.toml
file:
[dependencies]
carson-elliptic-intergrals = { git="https://github.com/jacobwilliams/carson-elliptic-intergrals.git" }
- B. C. Carlson and E. M. Notis, Algorithms for incomplete elliptic integrals, ACM Transactions on Mathematical Software 7, 3 (September 1981), pp. 398-403.
- B. C. Carlson, Computing elliptic integrals by duplication, Numerische Mathematik 33, (1979), pp. 1-16.
- B. C. Carlson, Elliptic integrals of the first kind, SIAM Journal of Mathematical Analysis 8, (1977), pp. 231-242.
The latest API documentation for the master
branch can be found here. This was generated from the source code using FORD.
The carlson-elliptic-integrals source code and related files and documentation are distributed under a permissive free software license (BSD-style). The original Fortran 77 code is public domain.