solver< Ring, CFfirstIsolate > Struct Template Reference

#include <solver_ucf.hpp>

List of all members.

Public Types

Static Public Member Functions


Detailed Description

template<class Ring>
struct mmx::solver< Ring, CFfirstIsolate >

Definition at line 549 of file solver_ucf.hpp.


Member Typedef Documentation

typedef Ring::scalar_t base_t

Definition at line 551 of file solver_ucf.hpp.


Member Function Documentation

Interval< Real > solve ( const POL &  p  )  [inline, static]

Isolates the first positive root of the polynomial p.

Definition at line 583 of file solver_ucf.hpp.

References solver_cffirst< Real, POL >::first_root_isolate().

00583                                                 {
00584 
00585   interval_rep<POL> i(p);
00586   solver_cffirst<Real,POL> slv(i);
00587 
00588   return slv.first_root_isolate();
00589 }

Interval< Real > solve ( const POL &  p,
const base_t u,
const base_t v 
) [inline, static]

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

Definition at line 567 of file solver_ucf.hpp.

References solver_cffirst< Real, POL >::first_root_isolate().

00569                   {
00570 
00571   interval_rep<POL>  i(p,u,v);
00572   solver_cffirst<Real,POL> slv(i);
00573 
00574   return slv.first_root_isolate();
00575 }


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

Generated on 6 Dec 2012 for realroot by  doxygen 1.6.1