-
Notifications
You must be signed in to change notification settings - Fork 98
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
Quantity-Aware access parts of quantity with complex storage type #454
Comments
I don't think the trait is necessary. Similar to how how methods for other underlying types are implemented, we would just need to add methods for e.g. Lines 759 to 780 in 85b665e
|
oh sorry I should have clarified this; im using the trait because I don't wanna keep track of(rather, don't have the time for) more patching right now. Basically a quick and dirty way to get this to work for me right now without much thought^^ A solution like you described would be much preferable :D Maybe I can get to that as well later, but right now I'm quite busy in way to may ways ;_; |
It can be interesting (or needed) to access only the real or imaginary part of a complex quantity.
Currently, i have solved this for my codebase like this, but it would be nice to have this available in uom directly as well. For all i know, its already there; im known to miss the most obvious functions out there :D
Example usage would be somthing like this:
The text was updated successfully, but these errors were encountered: