Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Support for Complex numbers #77

Open
DoubleStyx opened this issue Sep 1, 2022 · 5 comments
Open

Support for Complex numbers #77

DoubleStyx opened this issue Sep 1, 2022 · 5 comments
Labels

Comments

@DoubleStyx
Copy link
Contributor

DoubleStyx commented Sep 1, 2022

Add Complex as a type to Neos in the BaseX namespace. A complete implementation might not be feasible at this point without access to the original source generators.

@Xlinka
Copy link
Owner

Xlinka commented Apr 9, 2023

when talking about complex numbers do you refer to |2 + 3i| = sqrt(13) as a example of finding the modulus or absolute value of a complex number. ?

@Xlinka Xlinka added the LogiX label Apr 10, 2023
@Xlinka
Copy link
Owner

Xlinka commented Jun 15, 2023

Still no further note on this so no clue what you would like to be added.

@DoubleStyx
Copy link
Contributor Author

Yes, Complex numbers like 1 + 2i, and their associated operations.

https://learn.microsoft.com/en-us/dotnet/api/system.numerics.complex?view=net-7.0

@Xlinka
Copy link
Owner

Xlinka commented Jun 17, 2023

https://learn.microsoft.com/en-us/dotnet/api/system.numerics.complex?view=netframework-4.6.2

this is the one available to us inside neos

also i dont think adding it to base x would be possible its more of we would have to make our own nodes

@Xlinka
Copy link
Owner

Xlinka commented Sep 5, 2023

now with the new injector for types as a base this is now plausable

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

No branches or pull requests

2 participants