Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
noughtmare opened this issue Nov 5, 2019 · 1 comment
Closed

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

noughtmare opened this issue Nov 5, 2019 · 1 comment

Comments

@noughtmare
Copy link

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.

@noughtmare noughtmare changed the title imag and real should be of type Array (Complex a) -> Array a imag and real should have type Array (Complex a) -> Array a Nov 5, 2019
@dmjio
Copy link
Member

dmjio commented Nov 5, 2019

#16

@dmjio dmjio closed this as completed Nov 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants