Skip to content

Reexport Base.imag? #29

@jiahao

Description

@jiahao

Currently, Base.imag is not imported and re-exported, which causes shadowing errors when intermixing Complex and Quaternion numbers in arithmetic computations. Since im^2 == -1 in both algebras, the algebras themselves are not in conflict, and the analogous mixed-algebra computations should be similar to Real * Complex in Base. At least on paper, I don't foresee any problems in allowing Quaternions.imag to extend Base.imag.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions