Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make quantities independent of units #10

Closed
atmoos opened this issue Jun 9, 2023 · 1 comment · Fixed by #27, #26 or #28
Closed

Make quantities independent of units #10

atmoos opened this issue Jun 9, 2023 · 1 comment · Fixed by #27, #26 or #28
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested
Milestone

Comments

@atmoos
Copy link
Owner

atmoos commented Jun 9, 2023

The concrete quantity structs would ideally not have any dependencies to any concrete units, only to unit interfaces.

I have no clue how to accomplish as this collides square on with #6 . Possibly a very interesting design problem to work on.

@atmoos atmoos added enhancement New feature or request help wanted Extra attention is needed question Further information is requested labels Jun 9, 2023
@atmoos
Copy link
Owner Author

atmoos commented Jun 11, 2023

I think one way of accomplishing this without sacrificing #6 would be to keep the seven SI base units in the core library. (it's kind of justifiable.

With these the base SI units for all types of quantities can be constructed. These could, perhaps even should, then be the basis for additive and/or multiplicative identities.

@atmoos atmoos added this to the First Release milestone Jul 9, 2023
@atmoos atmoos linked a pull request Sep 23, 2023 that will close this issue
@atmoos atmoos reopened this Sep 24, 2023
@atmoos atmoos linked a pull request Sep 24, 2023 that will close this issue
@atmoos atmoos reopened this Sep 25, 2023
@atmoos atmoos linked a pull request Sep 30, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested
Projects
None yet
1 participant