Elliptic functions as per the Gnu Scientific Library, reference manual section 7.13 and AMS-55, chapter 17. These functions are declared in header file gsl_sf_ellint.h
ellint_Kcomp(k, mode=0, give=FALSE,strict=TRUE)ellint_Ecomp(k, mode=0, give=FALSE,strict=TRUE)ellint_F(phi,k, mode=0, give=FALSE,strict=TRUE)ellint_E(phi,k, mode=0, give=FALSE,strict=TRUE)ellint_P(phi,k,n, mode=0, give=FALSE,strict=TRUE)ellint_D(phi,k, mode=0, give=FALSE,strict=TRUE)ellint_RC(x, y, mode=0, give=FALSE,strict=TRUE)ellint_RD(x, y, z, mode=0, give=FALSE,strict=TRUE)ellint_RF(x, y, z, mode=0, give=FALSE,strict=TRUE)ellint_RJ(x, y, z, p, mode=0, give=FALSE,strict=TRUE)
Arguments
phi,k,n,p,x,y,z: input: real values
give: Boolean, with default FALSE meaning to return just the answers, and TRUE meaning to return a status vector as well
strict: Boolean
mode: input: mode. For GSL_PREC_DOUBLE, GSL_PREC_SINGLE, GSL_PREC_APPROX use 0,1,2