solver< C, M > Struct Template Reference

#include <solver.hpp>

List of all members.

Public Types

Public Member Functions

Static Public Member Functions


Detailed Description

template<class C, class M>
struct mmx::solver< C, M >

Definition at line 67 of file solver.hpp.


Member Typedef Documentation

typedef MTH::Cell Cell

Definition at line 69 of file solver.hpp.

typedef solver_of<C,M> MTH

Definition at line 68 of file solver.hpp.

Definition at line 71 of file solver.hpp.

Definition at line 70 of file solver.hpp.


Member Function Documentation

Seq< std::vector<FT> > solve ( Seq< POL > &  p,
Seq< Interval< base_t > > &  dom 
) [inline]

Approximates the first positive root of the polynomial p in the interval (u,v).

Definition at line 484 of file solver_mv_monomial.hpp.

References solver_mv_monomial< FT, POL >::approximate().

00485 {
00486     realroot::solver_mv_monomial<FT,POL> slv(1e-3);
00487     return slv.approximate(p, dom );
00488 }

static Solutions solve ( const POL &  p,
const DOM &  dmn 
) [inline, static]

Definition at line 82 of file solver.hpp.

References subdivisor< CELL, V >::run(), and subdivisor< CELL, V >::solutions().

00082                                         {
00083       Cell* c = new Cell(p,dmn);
00084        subdivisor<Cell, Strategy> slv(c);
00085        slv.run();
00086        return slv.solutions();
00087     }

static Solutions solve ( const POL &  p  )  [inline, static]

Definition at line 74 of file solver.hpp.

References subdivisor< CELL, V >::run(), and subdivisor< CELL, V >::solutions().

Referenced by solver< C, ContFrac< Isolate > >::solve(), and solver< C, ContFrac< Approximate > >::solve().

00074                         {
00075        Cell* c = new Cell(p);
00076        subdivisor<Cell, Strategy> slv(c);
00077        slv.run();
00078        return slv.solutions();
00079     }


The documentation for this struct was generated from the following files:

Generated on 6 Dec 2012 for realroot by  doxygen 1.6.1