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