-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch adds support for dimensional values via function.Arrays' new cast_withscale method. While primarily aimed at supporting nutils-SI type quanties, the functionality supports any wrapper type that has an attribute `reference_quantity` that can be used to make a value dimensionless through division.
- Loading branch information
1 parent
bda636d
commit 4a2c15b
Showing
2 changed files
with
42 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters