10#if !defined(GEOGRAPHICLIB_ELLIPTICFUNCTION_HPP)
11#define GEOGRAPHICLIB_ELLIPTICFUNCTION_HPP 1
68 real _k2, _kp2, _alpha2, _alphap2, _eps;
69 real _kKc, _eEc, _dDc, _pPic, _gGc, _hHc;
91 { Reset(k2, alpha2); }
113 { Reset(k2, alpha2, kp2, alphap2); }
126 void Reset(real k2 = 0, real alpha2 = 0)
127 { Reset(k2, alpha2, 1 - k2, 1 - alpha2); }
588 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.