Compute ΔT for a decimal Gregorian year using algorithm 3.
- Parameters
-
| year | The year, of double type. |
- Returns
- ΔT in seconds.
- Exceptions
-
| std::invalid_argument | if the year is >= 3000 or not finite. |
- Example
- compute(2005.99999999....) returns ΔT for the last moment of year 2005.
- Example
- compute(1984.0) returns ΔT for the first moment of year 1984.
- See also
- Fred Espenak, Thousand Year Canon of Solar Eclipses 1501 to 2500 (2014) - https://www.eclipsewise.com/help/deltatpoly2014.html
- Note
- Frozen comparison model; uses algo2 before 2005.