solver< Ring, CFfirstApproximate > 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, CFfirstApproximate >

Definition at line 594 of file solver_ucf.hpp.


Member Typedef Documentation

typedef Ring::scalar_t base_t

Definition at line 596 of file solver_ucf.hpp.


Member Function Documentation

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

Approximates the first positive root of the polynomial p.

Definition at line 629 of file solver_ucf.hpp.

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

00629                                                         {
00630 
00631 
00632         interval_rep<POL> i(p);
00633         solver_cffirst<Real,POL> slv(i);
00634 
00635   return slv.first_root_approximate();
00636 }

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

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

Definition at line 613 of file solver_ucf.hpp.

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

00614                                                                    {
00615 
00616   
00617         interval_rep<POL>  i(p,u,v);
00618         solver_cffirst<Real,POL> slv(i);
00619 
00620         return slv.first_root_approximate();
00621 }


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

Generated on 6 Dec 2012 for realroot by  doxygen 1.6.1