#include <rootsolve.h>
Inheritance diagram for NUM::PolyRootSolver_Bairstow:
Public Member Functions | |
PolyRootSolver_Bairstow () | |
~PolyRootSolver_Bairstow () | |
int | solve (int order, const dbl *c, dbl *r) |
[overriding a virtual]; | |
Public Attributes | |
Params | par |
Static Public Attributes | |
const Params | defaults |
Default values of the parameters. | |
Private Member Functions | |
int | _QuadricRealRoots (dbl *a, int n, dbl *wr) |
int | _QuadricRoots (dbl *a, int n, dbl *wr, dbl *wi) |
int | _FindQuadFact (dbl *a, int n, dbl *b, dbl *quad, int red_fact, dbl *err_est) |
void | _GetQuads (dbl *a, int n, dbl *quad, dbl *x) |
int | _Recurse (dbl *a, int n, dbl *b, int m, dbl *quad, dbl *err) |
void | _DiffPoly (dbl *a, int n, dbl *b) |
dbl | _Deflate (dbl *a, int n, dbl *b, dbl *quad) |
This class is completely thread-save; several threads may execute the solve() function at the same time.
Definition at line 198 of file rootsolve.h.
|
Definition at line 470 of file bairstow.cc. |
|
Definition at line 477 of file bairstow.cc. |
|
Definition at line 400 of file bairstow.cc. References dbl, and NUM::fabs(). Referenced by _GetQuads(). |
|
Definition at line 389 of file bairstow.cc. References dbl. Referenced by _GetQuads(), and _Recurse(). |
|
Definition at line 150 of file bairstow.cc. References dbl, NUM::fabs(), NUM::PolyRootSolver_Bairstow::Params::initial_epsilon, NUM::PolyRootSolver_Bairstow::Params::iter_chg, NUM::PolyRootSolver_Bairstow::Params::maxiter, and par. Referenced by _GetQuads(), and _Recurse(). |
|
Definition at line 238 of file bairstow.cc. References _Deflate(), _DiffPoly(), _FindQuadFact(), _Recurse(), dbl, NUM::PolyRootSolver_Bairstow::Params::maxiter, and par. Referenced by solve(). |
|
Definition at line 41 of file bairstow.cc. References dbl, NUM::PolyRootSolver_Bairstow::Params::disc_epsilon, NUM::fabs(), and par. Referenced by solve(). |
|
Definition at line 77 of file bairstow.cc. References CritAssert, dbl, NUM::PolyRootSolver_Bairstow::Params::disc_epsilon, NUM::fabs(), and par. |
|
Definition at line 348 of file bairstow.cc. References _DiffPoly(), _FindQuadFact(), dbl, NUM::fabs(), NUM::PolyRootSolver_Bairstow::Params::nearly_zero, and par. Referenced by _GetQuads(). |
|
[overriding a virtual];
Reimplemented from NUM::PolyRootSolver. Definition at line 423 of file bairstow.cc. References _GetQuads(), _QuadricRealRoots(), dbl, NUM::fabs(), NUM::PolyRootSolver_Bairstow::Params::nearly_zero, and par. |
|
Initial value: { INIT_FIELD(nearly_zero) 1e-10, INIT_FIELD(maxiter) 500, INIT_FIELD(iter_chg) 200, INIT_FIELD(initial_epsilon) 1e-10, INIT_FIELD(disc_epsilon) 1e-10 }
Definition at line 30 of file bairstow.cc. |
|
Definition at line 215 of file rootsolve.h. Referenced by _FindQuadFact(), _GetQuads(), _QuadricRealRoots(), _QuadricRoots(), _Recurse(), and solve(). |