emsr / polynomial

A C++ polynomials and related algorithms.
6 stars 3 forks source link

The Baistow solver results change with each run... #4

Closed emsr closed 6 years ago

emsr commented 6 years ago

This is due to some randomization. 1) it would be nice to specify a seed for reproducability 2) Results point to a need for a round of root polishing.

emsr commented 6 years ago

I shouldn't create a new urng and distribution every time the randomization ttriggers. Make it a member of the solver.

emsr commented 6 years ago

git commit -m"Make Bairstow take a seed. Make random, things part of the state. Try some refinement tricks for Bairstow. Meh."