Closed tpgillam closed 9 months ago
For example, in GA30 we have:
GA30
Base.:(+)(num::Number, a::Even) = Even(a.w + num, a.x, a.y, a.z) Base.:(-)(num::Number, a::Even) = Even(-a.w + num, -a.x, -a.y, -a.z)
but here, num should really be Real - a complex number does not make sense, and a GA number would make even less sense.
num
Real
(Whether or not GA multivectors should inherit from the Julia Number type is another question)
Number
For example, in
GA30
we have:but here,
num
should really beReal
- a complex number does not make sense, and a GA number would make even less sense.(Whether or not GA multivectors should inherit from the Julia
Number
type is another question)