CelestialCalendar 1.0.0 · unreleased development @ 67a7c4c79a4a4a6aa7e703c9e6f0039ae34bee82
Loading...
Searching...
No Matches
defines.hpp File Reference
#include <algorithm>
#include <span>
#include <cmath>
#include <functional>
#include <ranges>
#include <cstdint>

Classes

struct  astro::vsop87d::Coefficients
 Representing 3 coefficients in a VSOP87D term. More...
struct  astro::vsop87d::Evaluation
 The result of the VSOP87D evaluation. More...

Namespaces

namespace  astro
namespace  astro::vsop87d

Typedefs

using astro::vsop87d::Vsop87dTable
 The VSOP87D table of coefficients.
using astro::vsop87d::Vsop87dTables
 The VSOP87D tables.

Enumerations

enum class  astro::vsop87d::Planet : uint8_t {
  astro::vsop87d::EAR , astro::vsop87d::MER , astro::vsop87d::VEN , astro::vsop87d::MAR ,
  astro::vsop87d::JUP , astro::vsop87d::SAT , astro::vsop87d::URA , astro::vsop87d::NEP
}
 The planets supported by VSOP87D. More...

Functions

auto astro::vsop87d::evaluate_table (const Vsop87dTable &vsop_table, const double jm) -> double
 Return the sum of all the terms in the given VSOP87D table, for the given julian millennium.
auto astro::vsop87d::evaluate_tables (const Vsop87dTables &vsop_tables, const double jm) -> double
 Evaluate the given VSOP87D tables on the given julian millennium.
template<Planet planet>
auto astro::vsop87d::evaluate (const double jm) -> Evaluation
 Evaluate the VSOP87D tables on the given julian millennium.

Variables

constexpr double astro::vsop87d::SCALING_FACTOR
 The scaling factor used for the VSOP87D tables in this project.