arrayfire / arrayfire-haskell

Haskell bindings to ArrayFire

Home Page:http://hackage.haskell.org/package/arrayfire

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

imag and real should have type Array (Complex a) -> Array a

noughtmare opened this issue · comments

commented

Currently, imag and real have type AFType a => Array a -> Array a. But imag and real convert complex numbers to real numbers, so the type should be (AFType a, AFType (Complex a)) => Array (Complex a) -> Array a.