Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
T_Polynomial_solver_interface< Algebraic_Kernel > Class Template Reference

Interface to the CGAL polynomial solver using Algebraic Number types. More...

#include <Tripeptide_loop_closure.hpp>

Public Types

typedef Algebraic_Kernel AK
 
typedef T_Polynomial_solver_interface< AKself
 
typedef AK::Polynomial_1 Polynomial
 
typedef AK::Algebraic_real_1 Real
 
typedef AK::Polynomial_1::NT NT
 
typedef CGAL::Point_3< CGAL::Cartesian< NT > > Point
 
typedef CGAL::Vector_3< CGAL::Cartesian< NT > > Vector
 
typedef std::vector< RealRoots
 

Modifiers

void operator() (Polynomial &p, Roots &roots)
 Polynomial sovler interface of CGAL. More...
 

Detailed Description

template<class Algebraic_Kernel>
class SBL::CSB::T_Polynomial_solver_interface< Algebraic_Kernel >

Interface to the CGAL polynomial solver using Algebraic Number types.

Interface to the CGAL polynomial solver using Algebraic Number types.

Template Parameters
CGALAlgebraic kernel used to specify the number types on polynomial object type used for the solver

Member Typedef Documentation

◆ AK

typedef Algebraic_Kernel AK

◆ NT

typedef AK::Polynomial_1::NT NT

◆ Point

typedef CGAL::Point_3<CGAL::Cartesian<NT> > Point

◆ Polynomial

typedef AK::Polynomial_1 Polynomial

◆ Real

typedef AK::Algebraic_real_1 Real

◆ Roots

typedef std::vector<Real> Roots

◆ self

◆ Vector

typedef CGAL::Vector_3<CGAL::Cartesian<NT> > Vector

Member Function Documentation

◆ operator()()

void operator() ( Polynomial p,
Roots roots 
)

Polynomial sovler interface of CGAL.

Parameters
pAlgebraic polynomial object from CGAL
rootsRoots container for the solver