Skip to content

Implement fundamental arguments#22

Merged
AngusGMorrison merged 6 commits intomainfrom
am/fundamental-args
Nov 15, 2023
Merged

Implement fundamental arguments#22
AngusGMorrison merged 6 commits intomainfrom
am/fundamental-args

Conversation

@AngusGMorrison
Copy link
Copy Markdown
Contributor

@AngusGMorrison AngusGMorrison commented Nov 15, 2023

Implements the IERS 03 fundamental arguments as a mixture of:

  • Free functions, where the argument doesn't correspond to any one body
  • Trait implementations, where the argument is specified for multiple bodies
  • One struct implementation, for the Moon, which has two arguments not required for any other bodies.

Tests for zero, positive and negative values for t assert against outputs generated from the ERFA library directly.

@AngusGMorrison AngusGMorrison merged commit b9130cc into main Nov 15, 2023
@AngusGMorrison AngusGMorrison deleted the am/fundamental-args branch November 15, 2023 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant