However, when I use the roots function, I get the following output:
Root{IntervalBox{2, Float64}}[]
I’m interpreting this as saying that there are no roots within my tolerance of 1e-1. However, this is a bit strange because when I just throw in a random input into my function, it outputs something that should be within that tolerance.
compute_implied_r((1.04, 1.31))
2-element SVector{2, Float64} with indices SOneTo(2):
-0.008537271557149229
0.007921987019354315
I’d really appreciate any help understanding this/advice, thank you!
If you want to use IntervalRootFinding for that job, you should probably use roots(f .+ -0.1..0.1, ...). But this is likely to return large enclosures and become very slow, I am afraid.