You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to support scalar multiplication with any Base.Number subtype?
Restriction to Base.Real right now has several issues. The complex scalar Base.im can't be used to define a complexified Clifford Algebra. Also, it restricts the kinds of packages we can interact with--ones like Measurements.jl work (the principle type <: Base.Real) whereas ones like Unitful.jl don't work (the principle type is not a subtype of Base.Real)
You can kind hack together solutions to both of these right now but it's not great. Thanks!
The text was updated successfully, but these errors were encountered:
Thank you for your feedback! Would you be able to make a pull request? I'm insanely busy right now and if you wish this to be added soon then making a PR is probably the fastest way.
Would it be possible to support scalar multiplication with any
Base.Number
subtype?Restriction to
Base.Real
right now has several issues. The complex scalarBase.im
can't be used to define a complexified Clifford Algebra. Also, it restricts the kinds of packages we can interact with--ones like Measurements.jl work (the principle type<: Base.Real
) whereas ones like Unitful.jl don't work (the principle type is not a subtype ofBase.Real
)You can kind hack together solutions to both of these right now but it's not great. Thanks!
The text was updated successfully, but these errors were encountered: