Static Public Member Functions | Static Private Member Functions | List of all members
gte::RootsPolynomial< Real > Class Template Reference

#include <GteRootsPolynomial.h>

Static Public Member Functions

static int Find (int degree, Real const *c, unsigned int maxIterations, Real *roots)
 
static bool Find (int degree, Real const *c, Real tmin, Real tmax, unsigned int maxIterations, Real &root)
 
template<typename Rational >
static void GetRootInfoCubic (Rational const &p0, Rational const &p1, Rational const &p2, Rational const &p3, std::vector< int > &info)
 
template<typename Rational >
static void GetRootInfoQuadratic (Rational const &p0, Rational const &p1, Rational const &p2, std::vector< int > &info)
 
template<typename Rational >
static void GetRootInfoQuartic (Rational const &p0, Rational const &p1, Rational const &p2, Rational const &p3, Rational const &p4, std::vector< int > &info)
 
template<typename Rational >
static void SolveCubic (Rational const &p0, Rational const &p1, Rational const &p2, Rational const &p3, std::map< Real, int > &rmMap)
 
template<typename Rational >
static void SolveQuadratic (Rational const &p0, Rational const &p1, Rational const &p2, std::map< Real, int > &rmMap)
 
template<typename Rational >
static void SolveQuartic (Rational const &p0, Rational const &p1, Rational const &p2, Rational const &p3, Rational const &p4, std::map< Real, int > &rmMap)
 

Static Private Member Functions

static Real Evaluate (int degree, Real const *c, Real t)
 
static int FindRecursive (int degree, Real const *c, Real tmin, Real tmax, unsigned int maxIterations, Real *roots)
 
template<typename Rational >
static void GetRootInfoBiquadratic (Rational const &c0, Rational const &c2, std::vector< int > &info)
 
template<typename Rational >
static void GetRootInfoDepressedCubic (Rational const &c0, Rational const &c1, std::vector< int > &info)
 
template<typename Rational >
static void GetRootInfoDepressedQuadratic (Rational const &c0, std::vector< int > &info)
 
template<typename Rational >
static void GetRootInfoDepressedQuartic (Rational const &c0, Rational const &c1, Rational const &c2, std::vector< int > &info)
 
template<typename Rational >
static void SolveBiquadratic (Rational const &c0, Rational const &c2, std::map< Rational, int > &rmMap)
 
template<typename Rational >
static void SolveDepressedCubic (Rational const &c0, Rational const &c1, std::map< Rational, int > &rmMap)
 
template<typename Rational >
static void SolveDepressedQuadratic (Rational const &c0, std::map< Rational, int > &rmMap)
 
template<typename Rational >
static void SolveDepressedQuartic (Rational const &c0, Rational const &c1, Rational const &c2, std::map< Rational, int > &rmMap)
 

Detailed Description

template<typename Real>
class gte::RootsPolynomial< Real >

Definition at line 49 of file GteRootsPolynomial.h.

Member Function Documentation

template<typename Real >
Real gte::RootsPolynomial< Real >::Evaluate ( int  degree,
Real const *  c,
Real  t 
)
staticprivate

Definition at line 1146 of file GteRootsPolynomial.h.

template<typename Real >
int gte::RootsPolynomial< Real >::Find ( int  degree,
Real const *  c,
unsigned int  maxIterations,
Real *  roots 
)
static

Definition at line 291 of file GteRootsPolynomial.h.

template<typename Real >
bool gte::RootsPolynomial< Real >::Find ( int  degree,
Real const *  c,
Real  tmin,
Real  tmax,
unsigned int  maxIterations,
Real &  root 
)
static

Definition at line 341 of file GteRootsPolynomial.h.

template<typename Real >
int gte::RootsPolynomial< Real >::FindRecursive ( int  degree,
Real const *  c,
Real  tmin,
Real  tmax,
unsigned int  maxIterations,
Real *  roots 
)
staticprivate

Definition at line 1061 of file GteRootsPolynomial.h.

template<typename Real >
template<typename Rational >
void gte::RootsPolynomial< Real >::GetRootInfoBiquadratic ( Rational const &  c0,
Rational const &  c2,
std::vector< int > &  info 
)
staticprivate

Definition at line 1005 of file GteRootsPolynomial.h.

template<typename Real >
template<typename Rational >
void gte::RootsPolynomial< Real >::GetRootInfoCubic ( Rational const &  p0,
Rational const &  p1,
Rational const &  p2,
Rational const &  p3,
std::vector< int > &  info 
)
static

Definition at line 251 of file GteRootsPolynomial.h.

template<typename Real >
template<typename Rational >
void gte::RootsPolynomial< Real >::GetRootInfoDepressedCubic ( Rational const &  c0,
Rational const &  c1,
std::vector< int > &  info 
)
staticprivate

Definition at line 865 of file GteRootsPolynomial.h.

template<typename Real >
template<typename Rational >
void gte::RootsPolynomial< Real >::GetRootInfoDepressedQuadratic ( Rational const &  c0,
std::vector< int > &  info 
)
staticprivate

Definition at line 842 of file GteRootsPolynomial.h.

template<typename Real >
template<typename Rational >
void gte::RootsPolynomial< Real >::GetRootInfoDepressedQuartic ( Rational const &  c0,
Rational const &  c1,
Rational const &  c2,
std::vector< int > &  info 
)
staticprivate

Definition at line 909 of file GteRootsPolynomial.h.

template<typename Real >
template<typename Rational >
void gte::RootsPolynomial< Real >::GetRootInfoQuadratic ( Rational const &  p0,
Rational const &  p1,
Rational const &  p2,
std::vector< int > &  info 
)
static

Definition at line 235 of file GteRootsPolynomial.h.

template<typename Real >
template<typename Rational >
void gte::RootsPolynomial< Real >::GetRootInfoQuartic ( Rational const &  p0,
Rational const &  p1,
Rational const &  p2,
Rational const &  p3,
Rational const &  p4,
std::vector< int > &  info 
)
static

Definition at line 270 of file GteRootsPolynomial.h.

template<typename Real >
template<typename Rational >
void gte::RootsPolynomial< Real >::SolveBiquadratic ( Rational const &  c0,
Rational const &  c2,
std::map< Rational, int > &  rmMap 
)
staticprivate

Definition at line 749 of file GteRootsPolynomial.h.

template<typename Real >
template<typename Rational >
void gte::RootsPolynomial< Real >::SolveCubic ( Rational const &  p0,
Rational const &  p1,
Rational const &  p2,
Rational const &  p3,
std::map< Real, int > &  rmMap 
)
static

Definition at line 182 of file GteRootsPolynomial.h.

template<typename Real >
template<typename Rational >
void gte::RootsPolynomial< Real >::SolveDepressedCubic ( Rational const &  c0,
Rational const &  c1,
std::map< Rational, int > &  rmMap 
)
staticprivate

Definition at line 434 of file GteRootsPolynomial.h.

template<typename Real >
template<typename Rational >
void gte::RootsPolynomial< Real >::SolveDepressedQuadratic ( Rational const &  c0,
std::map< Rational, int > &  rmMap 
)
staticprivate

Definition at line 404 of file GteRootsPolynomial.h.

template<typename Real >
template<typename Rational >
void gte::RootsPolynomial< Real >::SolveDepressedQuartic ( Rational const &  c0,
Rational const &  c1,
Rational const &  c2,
std::map< Rational, int > &  rmMap 
)
staticprivate

Definition at line 559 of file GteRootsPolynomial.h.

template<typename Real >
template<typename Rational >
void gte::RootsPolynomial< Real >::SolveQuadratic ( Rational const &  p0,
Rational const &  p1,
Rational const &  p2,
std::map< Real, int > &  rmMap 
)
static

Definition at line 160 of file GteRootsPolynomial.h.

template<typename Real >
template<typename Rational >
void gte::RootsPolynomial< Real >::SolveQuartic ( Rational const &  p0,
Rational const &  p1,
Rational const &  p2,
Rational const &  p3,
Rational const &  p4,
std::map< Real, int > &  rmMap 
)
static

Definition at line 207 of file GteRootsPolynomial.h.


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


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:06