You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, find_roots is just a thin interface wrapping newton, and returns a slightly complicated structure, namely an array of Root objects, which are tuples of the Interval containing the root and a symbol saying if the root is :unique or :unknown.
I would like find_roots (or a similar simple name) to be an interface for someone who wants to use ValidatedNumerics as a black box, so that they should not need to know anything about intervals.
Currently, in the midpoint_radius branch, there is find_roots_midpoint that returns three arrays: the midpoints, the radii, and the symbols. This can be used with no knowledge of Interval.
My proposal is to rename find_roots_radius to find_roots and assume that a user familiar with interval arithmetic will be happy using the interface directly via newton or krawczyk and dealing with the resulting intervals.
Added inverse trig functions
Added tests for inverse trig functions
Added floor and ceil for intervals
Added tests for asin and acos when interval is not in domain. Added inverse trig functions in automatic_differentiation (need tests)
Remove Float from newton tests due to Travis
Added midpoint_radius
Removed clean_roots and its necessity; added find_roots_midpoint
Added with_interval_precision
Restore sort! for roots in newton and krawczyk
Generate Wilkinson polynomials using Horner's method
Minor changes
Added possibility to have array references of form a[i] inside @interval
Rewrite symbol generation for W3 since previous version only worked on Julia v0.4
What about simply including some conversion functions? That is, find_roots returns an array of Roots, and through some functions (e.g., interval_to_midpoint) does the rest of the work. The name is a simple suggestion, not more than that...
Currently,
find_roots
is just a thin interface wrappingnewton
, and returns a slightly complicated structure, namely an array ofRoot
objects, which are tuples of theInterval
containing the root and a symbol saying if the root is:unique
or:unknown
.I would like
find_roots
(or a similar simple name) to be an interface for someone who wants to useValidatedNumerics
as a black box, so that they should not need to know anything about intervals.Currently, in the
midpoint_radius
branch, there isfind_roots_midpoint
that returns three arrays: the midpoints, the radii, and the symbols. This can be used with no knowledge ofInterval
.My proposal is to rename
find_roots_radius
tofind_roots
and assume that a user familiar with interval arithmetic will be happy using the interface directly vianewton
orkrawczyk
and dealing with the resulting intervals.cc @lbenet
The text was updated successfully, but these errors were encountered: