Hi.

I need some clarifications before embarking into the clean-up of that
package.

The "integrate" method of interface "UnivariateRealIntegrator" is defined
as:
  double integrate(UnivariateRealFunction f, double min, double max)
        throws ConvergenceException, MathUserException, 
IllegalArgumentException;

As a comparison, a "solve" methods from the solver interface:
  double solve(int maxEval, FUNC f, double min, double max);

(1) Is the notion of "iteration" for the integrator similar to the number of
evaluation for the solvers? In other words, shall we now pass the (minimal
and maximal) numbers of iterations as parameters of "integrate"?

(2) Should there also be a limit on the number of function evaluations?

(3) We have here an occurrence of "ConvergenceException" whereas the
potential problems that can actually occur are that the number of iterations
is too low or too high.
I thus propose to use the existing "MaxCountExceededException" for "too many
iterations". Shall I create a "MinCountNotReachedException" for "too few
iterations"?

(4) Is it OK to pass accuracy parameters as arguments to the constructors
(as is done for the solvers)?


Regards,
Gilles

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to