[petsc-dev] elliptic functions

Mark Adams mfadams at lbl.gov
Sat Oct 22 09:24:10 CDT 2016


On Sat, Oct 22, 2016 at 8:07 AM, Matthew Knepley <knepley at gmail.com> wrote:

> Boost is an unmitigated nightmare. What exactly do you need?
>

7.13.3 Legendre Form of Complete Elliptic IntegralsFunction: *double*
*gsl_sf_ellint_Kcomp* *(double k, gsl_mode_t mode)*Function: *int*
*gsl_sf_ellint_Kcomp_e* *(double k, gsl_mode_t mode, gsl_sf_result
* result)*

These routines compute the complete elliptic integral *K(k)* to the
accuracy specified by the mode variable mode. Note that Abramowitz & Stegun
define this function in terms of the parameter *m = k^2*.
Function: *double* *gsl_sf_ellint_Ecomp* *(double k, gsl_mode_t mode)*
Function: *int* *gsl_sf_ellint_Ecomp_e* *(double k, gsl_mode_t mode,
gsl_sf_result * result)*


> DLMF is a good reference:
>
>   http://dlmf.nist.gov/19.39
>

Yes, that is where I got a pointer to GSL. THere are 5 other open source
options:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20161022/d6866fe4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2016-10-22 at 10.22.41 AM.png
Type: image/png
Size: 101182 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20161022/d6866fe4/attachment.png>


More information about the petsc-dev mailing list