Index

C++ Code Documentation

math::Solve1

File: BASE/math/Solve1.H

public:
  • Solve1();
    constructor
  • virtual ~Solve1();
    destructor
  • void solve( double &x, double &y, uint &status, double x1, double x2, double tol, uint max_iter);
  • uint iterations() const;
    number of iterations of last solve
  • bool trace() const;
    set tracing
  • void trace(bool state);
protected:
  • virtual double f( double ) = 0;
private:
  • static double adjust_sign( double x, double s );
  • uint _iteration;
  • bool _trace;
  • static double const rel_precision = 4 * DBL_EPSILON;
  • Solve1( Solve1 const & );
    disabled copy constructor
  • Solve1 &operator=( Solve1 const & );
    disabled assignment operator


math::Solve1 GANG