-
Notifications
You must be signed in to change notification settings - Fork 26
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
Multidimensional Newton operator #8
Conversation
Note that this requires changes to the |
If you have time to look at this one too, that would be great @lbenet. As far as I remember, this follows on from the bisection one and so that should be merged first. |
I'll take a look on this too, but hold me on about 30 min. A quick remark: tests are not passing. |
But then |
I am not suggesting removing I am only talking about the Maybe this is, however, not the correct solution, and rather a new function should be defined like I did for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not understand why travis has problems with the tests with v0.6.
Regarding @intervalbox
, I think this is not necessary at all (I'll post a comment on this separately). I think newton_refine
needs to be extended as well.
src/multidim/intervalbox.jl
Outdated
@@ -0,0 +1,55 @@ | |||
# This file is part of the ValidatedNumerics.jl package; MIT licensed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this file should be in IntervalArithmetic.jl; see this comment...
src/multidim/intervalbox_macro.jl
Outdated
@@ -0,0 +1,56 @@ | |||
using ValidatedNumerics |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this file should belong to `IntervalArithmetic.jl"; see above.
Regarding the necessity (or not) of julia> using ValidatedNumerics
julia> X = IntervalBox(1..1, 2..2)
[1, 1] × [2, 2]
julia> f(x, y) = (x + y, x - y)
f (generic function with 1 method)
julia> f(X...)
([3, 3],[-1, -1])
Maybe my concern with |
The difference is that |
And to use |
Sorry, I missed that. Still, I dislike the name though, because I think of a shortcut similar to In any case, the contests of |
Yes, the name is not great. Ah yes, oops. |
It is meant to be used for IntervalBoxes that are quite narrow. In the future, inv should be replaced by Gauss-Seidel
add version without derivative specified
e4afcaa
to
8006b70
Compare
Codecov Report
@@ Coverage Diff @@
## master #8 +/- ##
=========================================
- Coverage 82.18% 78.88% -3.3%
=========================================
Files 5 6 +1
Lines 174 180 +6
=========================================
- Hits 143 142 -1
- Misses 31 38 +7
Continue to review full report at Codecov.
|
I think this could be merged, though it would be nice to add some tests. |
Closing in favour of #24. |
Add a multi-dimensional Newton operator.