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

How to handle complex numbers? #102

Closed
gdalle opened this issue May 23, 2024 · 1 comment
Closed

How to handle complex numbers? #102

gdalle opened this issue May 23, 2024 · 1 comment
Labels
discussion Discuss design decisions / future direction of the package

Comments

@gdalle
Copy link
Collaborator

gdalle commented May 23, 2024

Level 1 (good)

Internal operations on Complex{Dual} and Complex{Tracer} should be supported, as long as there are Real numbers at the start and at the end.

Requires overloading conversions and promotions, not more.

Level 2 (still debatable)

We could decide how to initialize tracing with complex input, and read out the tracers to create a Jacobian.

@gdalle gdalle changed the title How to handle complex inputs? How to handle complex inputs and outputs? May 23, 2024
@gdalle gdalle changed the title How to handle complex inputs and outputs? How to handle complex numbers? May 23, 2024
@adrhill adrhill added the discussion Discuss design decisions / future direction of the package label Jun 1, 2024
@adrhill
Copy link
Owner

adrhill commented Aug 7, 2024

I think we can closes this for now, until the need for it arises.

If you're a user and need to compute sparsity patterns through computations involving complex numbers, please open an issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Discuss design decisions / future direction of the package
Projects
None yet
Development

No branches or pull requests

2 participants