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

Added complex numbers #284

Closed
wants to merge 2 commits into from

Conversation

jesper-friis
Copy link
Contributor

@jesper-friis jesper-friis commented Mar 6, 2024

Closes #270

Added custom datatypes following the Python representation: "4+5j". It would be preferable if we could find existing adopted datatypes.

The choice of "j" to denote imaginary numbers can be discussed. Chosen here to be aligned with Python. However, if we want to generalise to quatarnions, probably "i" would be a better choice, allowing them to be represented with ("i", "j", "k"), avoiding "l" which is difficult to distinguish from 1.

Open for comments

@emanueleghedini emanueleghedini deleted the branch 1.0.0-final-dev-branch March 7, 2024 09:35
@jesper-friis jesper-friis deleted the 270-complex-numbers branch March 13, 2024 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants