[Feature] Implement complex numbers functionalities
See original GitHub issueI open this ticket to discuss the design of a module for complex images -> kornia.geoemtry.linalg.complex
The idea is to cover basic functionalities for real/imaginari parts. I list in below the potential functions to cover:
tensor_to_complex
multiply_complex
sun_complex
subs_complex
div_complex
module_complex
This is prototyped here:
https://colab.research.google.com/drive/1K__v_vsuMa0eknTLLTZsXR-VhyJGB7IO
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
6.1. Complex Numbers and Complex Functions
In terms of real valued functions a complex function is the combination of two real valued functions in two variables. Please note that...
Read more >Complex Numbers and Basic Functionality - Rdrr.io
Complex vectors can be created with complex . The vector can be specified either by giving its length, its real and imaginary parts,...
Read more >Complex Numbers and Basic Functionality - R
Complex vectors can be created with complex . The vector can be specified either by giving its length, its real and imaginary parts,...
Read more >How to use the COMPLEX function - Get Digital Help
The COMPLEX function returns a complex number based on a real and imaginary number. Table of Contents COMPLEX Function Syntax IMCOS Functio.
Read more >Complex Number Functions in Excel - EngineerExcel
The IMAGINARY function can be used to find the imaginary part of an existing complex number – ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@edgarriba : It would be great if Kornia could directly handle these complex datatypes. I understand that this might be complicated for some specific functions, but there’s definitely a bunch of functions that could be easily implemented for complex support and I think several scientific communities could greatly benefit from this.
I agree that is simple as I show in the colab but we shouldn’t overlap functionality respect to pytorch mainstream See: https://pytorch.org/docs/stable/complex_numbers.html