-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
should ctranspose on an Array{Any} take conjugates? #5449
Comments
I do not think this is intentional.
|
We should call |
That is the easiest way, but I wonder whether it will be confusing that |
I realized this when looking into #5448 and I'm not sure if it's intended behavior or a bug. At the moment we have:
If this is intended behavior, we should document it. If not, we'd have to decide whether to call
conj
on all elements where it'sapplicable
(which would include complex arrays) or only elements that are typed asComplex
. Both of these potential solutions seem to require an extra function call for each element in non-concrete arrays, which would not be great from a performance standpoint, but since non-concrete arrays are not going to be fast to begin with, perhaps this would be acceptable?The text was updated successfully, but these errors were encountered: