Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for more mixed Complex-Real operations #643

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 26, 2024

  1. Add support for more mixed Complex-Real operations

    This change adds support (almost all of) the same mixed Complex-Real operations that nim's complex module support.
    
    This also changes a bit some of the existing mixed ops. In particular, we used to support mixed ops of Complex64 with _any_ kind of number (including integers) but they did not support Complex32 - float32 ops. While being able to mix Complex64 with ints (for example) was nice, it was not consistent with nim's own complex library and also it would have required adding many more operator overloads, so I decided to just be consistent at the cost of a little usability in a small number of cases.
    AngelEzquerra committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    3147a4f View commit details
    Browse the repository at this point in the history