-
Notifications
You must be signed in to change notification settings - Fork 6
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
What are the entries of a diagonal operator? #19
Comments
I usually think of diagonal operators (mostly potentials in my case) as simply function multiplication:
where In CoulombIntegrals.jl, I calculate the repulsion between two electrons, |
Right, that’s exactly how I’ve been thinking of them. There is no actual need for getindex except to make sure we are conceptualising them. Perhaps <δ_s, \int K(x,y) δ_t(y) dy > = < δ_s, K(x,t) > = K(s,t) Perhaps the issue is the usage of |
Maybe something with |
Yes these are local operators, but so are derivatives. |
I had been thinking of operators in the kernel sense, that is,
$$
(K u)(x) = \int_a^b K(x,y) u(y) dy
$$
So that
K[x,y]
is equivalent toK(x,y)
.But then we are using diagonal operators. One might expect
QuasiDiagonal(one.(Inclusion(-1...1)))
to be the identity operator, and thats essentially how we've been using it. The issue is that the identity operator corresponds toK(x,y) = δ(y-x)
so is actual infinite on the diagonal.Is this the convention we want? E.g.,
QuasiDiagonal(sqrt.(1-x.^2))[0.1,0.1] == ∞
?The text was updated successfully, but these errors were encountered: