10 #if !defined(GEOGRAPHICLIB_ELLIPTICFUNCTION_HPP)
11 #define GEOGRAPHICLIB_ELLIPTICFUNCTION_HPP 1
67 real _k2, _kp2, _alpha2, _alphap2, _eps;
68 real _Kc, _Ec, _Dc, _Pic, _Gc, _Hc;
90 { Reset(k2, alpha2); }
112 { Reset(k2, alpha2, kp2, alphap2); }
125 void Reset(real k2 = 0, real alpha2 = 0)
126 { Reset(k2, alpha2, 1 - k2, 1 - alpha2); }
587 return sqrt(_k2 < 0 ? 1 - _k2 * sn*sn : _kp2 + _k2 * cn*cn);
Header for GeographicLib::Constants class.
#define GEOGRAPHICLIB_EXPORT
GeographicLib::Math::real real
Elliptic integrals and functions.
EllipticFunction(real k2=0, real alpha2=0)
Math::real alphap2() const
void Reset(real k2=0, real alpha2=0)
Math::real Delta(real sn, real cn) const
EllipticFunction(real k2, real alpha2, real kp2, real alphap2)
Math::real alpha2() const
Namespace for GeographicLib.