-
-
Notifications
You must be signed in to change notification settings - Fork 126
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
Improve simplification of physical quantities #37
Comments
Possibly related:
compare to gnu units expansion and simplification:
the latter explains this issue at hand and relates it to physical quantities, allowing a user to debug their expression. This is by far my favorite feature of gnu units and make-or-break for a CAS-like system that offers dimensional analysis and unit conversion. Definitely interesting work overall, I would love to see this replace connectbot + gnu units or wolfram for basic engineering math. Regards! |
@itdaniher That's a cool feature, indeed! Thank you for the feedback... I think this is something that could be implemented rather easily. |
Happy to share! I'll be keeping an eye on this project for sure. |
@itdaniher This feature is now supported:
|
Simplification is now supported:
|
An input like
should be simplified to
36 Gbit
, i.e. units of the same dimension should always be unified (here:second
andhour
). Similarlyshould be simplified to either
0.25m²
or2500cm²
This is related to sharkdp/purescript-quantities#16
The text was updated successfully, but these errors were encountered: