Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Support for Diagonal #104

Open
iamed2 opened this issue Oct 12, 2018 · 1 comment
Open

Support for Diagonal #104

iamed2 opened this issue Oct 12, 2018 · 1 comment

Comments

@iamed2
Copy link
Member

iamed2 commented Oct 12, 2018

Diagonal(v) == diagm(v) but Diagonal(v) doesn't allocate and diag(Diagonal(v)) === v

@iamed2
Copy link
Member Author

iamed2 commented Oct 12, 2018

I was missing the method +(::Nabla.Branch{Array{Float64,2}}, ::Diagonal{Nabla.Branch{Float64}})

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant