|
CelestialCalendar 1.0.0 · unreleased development @ 67a7c4c79a4a4a6aa7e703c9e6f0039ae34bee82
|
Classes | |
| struct | Algo1Coefficients |
| The coefficients of algorithm 1. More... | |
Functions | |
| constexpr auto | find_coefficients (const int32_t year) -> std::optional< std::pair< Algo1Coefficients, Algo1Coefficients > > |
| Get the coefficients of algorithm 1. Returns std::nullopt if not found. | |
| constexpr auto | compute (const double year) -> double |
| Compute ΔT for a decimal Gregorian year using algorithm 1. | |
Variables | |
| constexpr double | MINIMUM_YEAR |
| constexpr std::array< Algo1Coefficients, 20 > | ALGO1_COEFFICIENTS |
|
nodiscardconstexpr |
Compute ΔT for a decimal Gregorian year using algorithm 1.
| year | The year, of double type. |
| std::invalid_argument | if the year is < -4000 or not finite. |
|
constexpr |
Get the coefficients of algorithm 1. Returns std::nullopt if not found.
|
inlineconstexpr |
|
inlineconstexpr |