feat: add RMul, RDiv

* `And` has the default type index
* impl `Dimension` traits
This commit is contained in:
Shunsuke Shibayama 2024-09-20 20:31:03 +09:00
parent 4651a383ae
commit ff53af0cb6
17 changed files with 323 additions and 118 deletions

View file

@ -11,3 +11,7 @@ j: Joule
f _: Kg = None
f kg
f kg/m*m
w = 2.0kg
assert w >= 1.0kg
assert int(w.value()) == 2