57 if (refellipsoid.
nelem() != 2)
58 throw runtime_error(
"Input *refellispoid must be a vector of length 2*.");
60 if (refellipsoid[1] > 0) {
61 const Numeric e2 = refellipsoid[1] * refellipsoid[1];
65 const Numeric rm = (1 - e2) * (rn / a);
70 refellipsoid[0] / (
pow(cos(v), 2.0) / rm +
pow(sin(v), 2.0) / rn);
79 if (refellipsoid.
nelem() != 2)
80 throw runtime_error(
"Input *refellispoid must be a vector of length 2*.");
87 refellipsoid[1] =
sqrt(1 -
pow(rp / refellipsoid[0], 2.0));
void refellipsoidForAzimuth(Vector &refellipsoid, const Numeric &latitude, const Numeric &azimuth, const Verbosity &)
WORKSPACE METHOD: refellipsoidForAzimuth.
Declarations having to do with the four output streams.
void refellipsoidOrbitPlane(Vector &refellipsoid, const Numeric &orbitinc, const Verbosity &)
WORKSPACE METHOD: refellipsoidOrbitPlane.
Index nelem() const
Returns the number of elements.
The global header file for ARTS.
NUMERIC Numeric
The type to use for all floating point numbers.
void refellipsoidSet(Vector &refellipsoid, const Numeric &re, const Numeric &e, const Verbosity &)
WORKSPACE METHOD: refellipsoidSet.
Numeric refell2r(ConstVectorView refellipsoid, const Numeric &lat)
refell2r
Implementation of Matrix, Vector, and such stuff.
Numeric pow(const Rational base, Numeric exp)
Power of.
void resize(Index n)
Resize function.
Numeric sqrt(const Rational r)
Square root.