-
-
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
Allow exponentiation of Diagonal{*Range}
#40932
Conversation
Note that this introduces an ambiguity:
If you wanted to define something, perhaps it is
EDIT -- somehow I missed here that the original complaint was about |
Shouldn't it be vectorized dot operation though since its more obvious? Literal_pow multiplies the matrix 3 times but we only need diagonal elements to be cubed. |
Diagonal{*Range}
In @mcabbott's suggestion, |
Oh, yes. But currently I m not able to modify the commit as I deleted the repository which was connected to this PR accidentally. Also I can't open another PR for the same as I have another PR pending and I made that directly from the master branch. :/. |
You could create a new branch on your new fork, and there make the new changes. |
It shows the commits I have already made in the other PR. If I make another branch and make a new PR, those commits will get added again in the PR. |
No worries, I'll take over and prepare a PR based on the comments so far. |
Edited diagonal.jl for direct Exponentiation of Diagonal{*Range}. Fixes #40886.