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); }
609 return sqrt(_k2 < 0 ? 1 - _k2 * sn*sn : _kp2 + _k2 * cn*cn);
737 #endif // GEOGRAPHICLIB_ELLIPTICFUNCTION_HPP
Math::real alphap2() const
#define GEOGRAPHICLIB_EXPORT
void Reset(real k2=0, real alpha2=0)
Math::real alpha2() const
Elliptic integrals and functions.
Namespace for GeographicLib.
EllipticFunction(real k2, real alpha2, real kp2, real alphap2)
GeographicLib::Math::real real
Math::real Delta(real sn, real cn) const
Header for GeographicLib::Constants class.
EllipticFunction(real k2=0, real alpha2=0)