While using NumPy, I have noticed that it supports np.float16 but there is no np.complex32. Why is it so? Low priority feature planned for a future release? Is there a straightforward way to implement a complex representation based on np.float16 that I am ignoring?
I was not able to find much online about this. Thanks!
E.g., the following code works for a, but fails for b.
import numpy as np
a = np.array([0, 1], dtype=np.float16)
print(a)
b = np.array([0, 1], dtype=np.complex32)
print(b)