Vulcan
Aerospace Engineering Utilities Built on Janus
Loading...
Searching...
No Matches
AnomalyConversions.hpp File Reference
#include <cmath>
#include <janus/janus.hpp>
#include <vulcan/core/VulcanTypes.hpp>
Include dependency graph for AnomalyConversions.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  vulcan
namespace  vulcan::orbital
namespace  vulcan::orbital::anomaly

Functions

template<typename Scalar>
Scalar vulcan::orbital::anomaly::mean_to_eccentric (const Scalar &M, const Scalar &e, double tol=1e-12, int max_iter=50)
 Solve Kepler's equation: M = E - e*sin(E).
template<typename Scalar>
Scalar vulcan::orbital::anomaly::eccentric_to_true (const Scalar &E, const Scalar &e)
 Convert eccentric anomaly to true anomaly.
template<typename Scalar>
Scalar vulcan::orbital::anomaly::true_to_eccentric (const Scalar &nu, const Scalar &e)
 Convert true anomaly to eccentric anomaly.
template<typename Scalar>
Scalar vulcan::orbital::anomaly::eccentric_to_mean (const Scalar &E, const Scalar &e)
 Convert eccentric anomaly to mean anomaly.
template<typename Scalar>
Scalar vulcan::orbital::anomaly::true_to_mean (const Scalar &nu, const Scalar &e)
 Convert true anomaly to mean anomaly.
template<typename Scalar>
Scalar vulcan::orbital::anomaly::mean_to_true (const Scalar &M, const Scalar &e)
 Convert mean anomaly to true anomaly.