14 # pragma warning (disable: 4127) 22 return es >
T(0) ? es *
atanh(es * x) : -es *
atan(es * x);
27 sig =
sinh( eatanhe(tau / tau1, es ) );
28 return hypot(
T(1), sig) * tau - sig * tau1;
32 static const int numit = 5;
34 T e2m =
T(1) - sq(es),
43 stol = tol *
max(
T(1),
abs(taup));
46 T taupa = taupf(tau, es),
47 dtau = (taup - taupa) * (1 + e2m * sq(tau)) /
50 if (!(
abs(dtau) >= stol))
EIGEN_DEVICE_FUNC const SqrtReturnType sqrt() const
const mpreal atanh(const mpreal &x, mp_rnd_t r=mpreal::get_default_rnd())
Header for GeographicLib::Math class.
EIGEN_DEVICE_FUNC const SinhReturnType sinh() const
Eigen::Triplet< double > T
EIGEN_DEVICE_FUNC const AtanReturnType atan() const
Namespace for GeographicLib.
const mpreal hypot(const mpreal &x, const mpreal &y, mp_rnd_t rnd_mode=mpreal::get_default_rnd())
EigenSolver< MatrixXf > es
static T tauf(T taup, T es)
static T eatanhe(T x, T es)
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
static T taupf(T tau, T es)
#define GEOGRAPHICLIB_PANIC