.at[] with complex numbers
See original GitHub issueimport jax
import jax.numpy as jnp
@jax.jit
def f():
return jnp.zeros((1,), dtype=jnp.complex64).at[0].set(1)
f()
DeviceArray([3.6602185e-37+0.j], dtype=complex64)
Issue Analytics
- State:
- Created a year ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Complex number - Wikipedia
A complex number can be visually represented as a pair of numbers (a, b) forming a vector on a diagram called an Argand...
Read more >Complex Numbers - Math is Fun
Well, a Complex Number is just two numbers added together (a Real and an Imaginary Number). Either Part Can Be Zero. So, a...
Read more >Complex Number - Definition, Formula, Properties, Examples
A complex number is a combination of real values and imaginary values. It is denoted by z = a + ib, where a,...
Read more >Complex Numbers - Basics | Don't Memorise - YouTube
Now that we know what imaginary numbers are, we can move on to understanding Complex Numbers. ✓To access all videos related to Complex ......
Read more >Complex Numbers | Brilliant Math & Science Wiki
A complex number is a number that can be written in the form a + b i a + bi a+bi, where a...
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 Free
Top 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
You are always so efficient to fix issues ❤️
The MHLO canonicalizer is mishandling simplifications of complex scatters. This will need a fix in upstream MLIR most likely.