RCAIDE.Library.Methods.Geodesics.Geodesics.Math#
- class Math[source]#
Bases:
objectAdditional math routines for GeographicLib.
- __init__()#
Methods
AngDiff(x, y)compute y - x and reduce to [-180,180] accurately
AngNormalize(x)reduce angle to [-180,180]
AngRound(x)Private: Round an angle so that small values underflow to zero.
LatFix(x)replace angles outside [-90,90] by NaN
cbrt(x)Real cube root of a number
norm(x, y)Private: Normalize a two-vector.
polyval(N, p, s, x)Evaluate a polynomial.
remainder(x, y)remainder of x/y in the range [-y/2, y/2].
sincosd(x)Compute sine and cosine of x in degrees.
sincosde(x, t)Compute sine and cosine of (x + t) in degrees with x in [-180, 180]
sq(x)Square a number
sum(u, v)Error free transformation of a sum.