question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature] Implement complex numbers functionalities

See original GitHub issue

I 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:open
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
fschifferscommented, Oct 3, 2021

@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.

0reactions
edgarribacommented, Oct 4, 2021

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found