-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Currently, this does not work:
>>> q = Quantity([1, 2, 3], "kpc")
>>> vec = cx.CartesianPosition3D.constructor(q)
>>> scale = jnp.array([1, 0.9, 0.85])
>>> vec * scale
EquinoxTracetimeError: ...
I think this should be supported when the shape of a multiplicative array is broadcastable with the vector shape, and it should do the same as q * scale
.
(thinking about this as I work on a PR for a new AnisotropicScalingOperator
)
Metadata
Metadata
Assignees
Labels
No labels