solver< C, MCFapproximate > Struct Template Reference

#include <solver_mv_monomial.hpp>

List of all members.

Public Types

Static Public Member Functions


Detailed Description

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

Definition at line 467 of file solver_mv_monomial.hpp.


Member Typedef Documentation

typedef C base_t

Definition at line 469 of file solver_mv_monomial.hpp.


Member Function Documentation

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

Approximates the first positive root of the polynomial p.

Definition at line 496 of file solver_mv_monomial.hpp.

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

00497 {
00498     
00499     unsigned d( p[0].nbvar() );
00500     realroot::solver_mv_monomial<FT,POL> slv(1e-3);
00501     
00502     return slv.approximate(p,d);
00503 }

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

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

Generated on 6 Dec 2012 for realroot by  doxygen 1.6.1