Re: [math] RealSolver refactoring proposal

2004-02-24 Thread J.Pietschmann
Phil Steitz wrote: I was really thinking primarily about the solve() -> getResult(), getIterationCount() setup, Hmm, the getIterationCount() is useful in the unit tests, and it helped me to catch a few problems leading to slow convergence. A stateless alternative to the current design would be to

Re: [math] RealSolver refactoring proposal

2004-02-23 Thread Phil Steitz
J.Pietschmann wrote: Phil Steitz wrote: I would like to propose that we simplify the UnivariateRealSolver design as follows: 1. Eliminate the function f from the UnivariateRealSolverFactory new* methods, adding it as a parameter to the solve() methods on the instances instead. Well, the idea

Re: [math] RealSolver refactoring proposal

2004-02-23 Thread J.Pietschmann
Phil Steitz wrote: I would like to propose that we simplify the UnivariateRealSolver design as follows: 1. Eliminate the function f from the UnivariateRealSolverFactory new* methods, adding it as a parameter to the solve() methods on the instances instead. Well, the idea behind passing the func