-
Notifications
You must be signed in to change notification settings - Fork 11
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
logkernel sometimes throws domain error due to acos
#104
Comments
I think the code needs to be redesigned anyways using the OP point of view. Annoyingly, you can't work around this by perturbing |
The problem is a rounding error is causing the real part of the Joukowsky inverse to be larger in magnitude than the absolute value by one bit. Since |
Hmm, why don't we just simplify |
PS Realized it's very easy to calculate equilibrium measures in the complex plane: ε = 0.1
x = real(Fun(Segment(0,1))) ; y = imag(Fun(Segment(ε*im,im)))
w(a,b) = x^a*(1-x)^b + (y-ε)^b*(1-y)^a
μ = SingularIntegral(space(w(-0.5,-0.5)),0) \ ones(domain(w(-0.5,-0.5))) Unfortunately it doesn't have the nice property that real-line EMs do that |
SingularIntegralEquations.jl/src/singfuncauchy.jl
Line 170 in 1e4cc41
logkernel(1/sqrt(1-x^2),-5.0)
The text was updated successfully, but these errors were encountered: