Uses bracketRoots() to divide the interval [a,b] into subintervals
and check which ones bracket roots. Then, findRoot() is applied
to each bracketing interval, and an array containing the roots
is returned.
A buffer of length at least nIntervals+1, for storing the roots,
may optionally be provided.
Uses bracketRoots() to divide the interval [a,b] into subintervals and check which ones bracket roots. Then, findRoot() is applied to each bracketing interval, and an array containing the roots is returned.
A buffer of length at least nIntervals+1, for storing the roots, may optionally be provided.