-
Notifications
You must be signed in to change notification settings - Fork 19
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
Pretty print element types of QuantityArray
#131
Comments
So the rendering is the same on my side, no troubles there. My question is really about not repeating redundant information during printing, which is what happens at the moment. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So far
QuantityArray
shows this kind of outputSo obviously it is possible to print the unit string from the dimension.
As far as I understand the design of
QuantityArrays
it is not possible to concatenate two arrays of different dimensions, meaning that the unit is shared among all array values.With that in mind, does it make sense to print the unit of each element of the array given that it is shared by all elements, and takes quite a bit of space for matrices such as
Wouldn't it make more sense to show the unit in the type with something like
The text was updated successfully, but these errors were encountered: