Antkeeper
0.0.1
|
Orbital anomaly functions. More...
Functions | |
template<class T > | |
T | true_to_eccentric (T ec, T ta) |
Derives the eccentric anomaly given eccentricity and true anomaly. More... | |
template<class T > | |
T | true_to_mean (T ec, T ta) |
Derives the mean anomaly given eccentricity and true anomaly. More... | |
template<class T > | |
T | eccentric_to_true (T ec, T ea) |
Derives the true anomaly given eccentricity and eccentric anomaly. More... | |
template<class T > | |
T | eccentric_to_mean (T ec, T ea) |
Derives the mean anomaly given eccentricity and eccentric anomaly. More... | |
template<class T > | |
T | mean_to_eccentric (T ec, T ma, std::size_t iterations, T tolerance) |
Iteratively derives the eccentric anomaly given eccentricity and mean anomaly. More... | |
template<class T > | |
T | mean_to_true (T ec, T ma, std::size_t iterations, T tolerance) |
Iteratively derives the true anomaly given eccentricity and mean anomaly. More... | |
Orbital anomaly functions.
T physics::orbit::anomaly::eccentric_to_mean | ( | T | ec, |
T | ea | ||
) |
Derives the mean anomaly given eccentricity and eccentric anomaly.
ec | Eccentricity (e). |
ea | Eccentric anomaly (E). |
Definition at line 137 of file anomaly.hpp.
T physics::orbit::anomaly::eccentric_to_true | ( | T | ec, |
T | ea | ||
) |
Derives the true anomaly given eccentricity and eccentric anomaly.
ec | Eccentricity (e). |
ea | Eccentric anomaly (E). |
Definition at line 122 of file anomaly.hpp.
T physics::orbit::anomaly::mean_to_eccentric | ( | T | ec, |
T | ma, | ||
std::size_t | iterations, | ||
T | tolerance | ||
) |
Iteratively derives the eccentric anomaly given eccentricity and mean anomaly.
ec | Eccentricity (e). |
ma | Mean anomaly (M). |
iterations | Maximum number of iterations. |
tolerance | Solution error tolerance. |
Definition at line 152 of file anomaly.hpp.
T physics::orbit::anomaly::mean_to_true | ( | T | ec, |
T | ma, | ||
std::size_t | iterations, | ||
T | tolerance | ||
) |
Iteratively derives the true anomaly given eccentricity and mean anomaly.
ec | Eccentricity (e). |
ma | Mean anomaly (M). |
iterations | Maximum number of iterations. |
tolerance | Solution error tolerance. |
Definition at line 190 of file anomaly.hpp.
T physics::orbit::anomaly::true_to_eccentric | ( | T | ec, |
T | ta | ||
) |
Derives the eccentric anomaly given eccentricity and true anomaly.
ec | Eccentricity (e). |
ta | True anomaly (nu). |
Definition at line 101 of file anomaly.hpp.
T physics::orbit::anomaly::true_to_mean | ( | T | ec, |
T | ta | ||
) |
Derives the mean anomaly given eccentricity and true anomaly.
ec | Eccentricity (e). |
ta | True anomaly (nu). |
Definition at line 116 of file anomaly.hpp.