Hi Henning,
This change was necessary because complex numbers are now stored in the C-style array-of-struct representation. Thus, we only support certain types, not the universal instance we had previously.
Having an intermediate class might be an option, but I think you can achieve the same thing with an Elt (Complex a)
constraint. And, we would still need Numeric
in accelerate-fft
, as it is still more restrictive than all complex number representation supported by accelerate (in particular, no FP16), and is used for other purposes besides.
Cheers,
-Trev
--
You received this message because you are subscribed to the Google Groups "Accelerate" group.
To unsubscribe from this group and stop receiving emails from it, send an email to accelerate-hask...@googlegroups.com.
Visit this group at https://groups.google.com/group/accelerate-haskell.
For more options, visit https://groups.google.com/d/optout.