For a possible Quantity API, am I correct in thinking that you've only used: Quantity.__init__(value, unit) Quantity.units Quantity.magnitude Quantity.m_as Unit.__pow__ Unit.__add__ Unit.__sub__ Unit.__mul__ Unit.__div__ If it's just those methods, a Quantity API that would allow support for the array API seems very doable!
Activity
lucascolley commentedon Jan 1, 2025
I think so, yes!