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
MultiVector.exp computes math.e ** V using the Taylor series, which basically applies to anything for which scalar-thing and thing-thing addition and multiplication are defined.
MultiVector.scalar classmethod generates a scalar MultiVector from a string, by passing it through the scalar factory.
Changes
MultiVector.__rpow__ is now defined in terms of MultiVector.exp (a^b = e^(b ln a))
BREAKING: This means that math.e ** V == V.exp has different behavior from previous math.e ** V when V*V != -1. This is because previously I was mistakenly applying Euler's formula to objects that do not behave like the imaginary unit. The docs have been updated to reflect this.
Since this is a correction of behavior, I'm calling it a bugfix and not incrementing the major version.
Note that the behavior remains the same across versions when V*V == -1, which should be the case for all valid use cases of MultiVector.rotate