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

min/max in combination with complex numbers is returning NaN #101

Closed
KurAnd10 opened this issue Jun 1, 2021 · 0 comments
Closed

min/max in combination with complex numbers is returning NaN #101

KurAnd10 opened this issue Jun 1, 2021 · 0 comments

Comments

@KurAnd10
Copy link

KurAnd10 commented Jun 1, 2021

Min/Max in combination with complex numbers is returning NaN. In general this is not a problem because it is not defined. But if one compares it to matlab (https://de.mathworks.com/help/matlab/ref/min.html) one can see that they are returning the complex number with the smallest/biggest magnitude. I at least think that this is not a bad idea and worth to think about.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants