BWAPI
Classes | Typedefs | Functions
SPAR/AIModule/BWTA/vendors/CGAL/CGAL/CORE/poly/Poly.h File Reference
#include <CGAL/CORE/BigFloat.h>
#include <CGAL/CORE/Promote.h>
#include <vector>
Include dependency graph for Poly.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Polynomial< NT >
 A basic polynomial class. More...

Typedefs

typedef std::pair< BigFloat,
BigFloat
BFInterval
typedef std::vector< BFIntervalBFVecInterval

Functions

template<class NT >
Polynomial< NT > operator+ (const Polynomial< NT > &, const Polynomial< NT > &)
template<class NT >
Polynomial< NT > operator- (const Polynomial< NT > &, const Polynomial< NT > &)
template<class NT >
Polynomial< NT > operator* (const Polynomial< NT > &, const Polynomial< NT > &)
template<class NT >
Polynomial< NT > power (const Polynomial< NT > &, int n)
template<class NT >
Polynomial< NT > differentiate (const Polynomial< NT > &)
template<class NT >
Polynomial< NT > differentiate (const Polynomial< NT > &, int n)
template<class NT >
NT content (const Polynomial< NT > &p)
template<class NT >
bool isDivisible (Polynomial< NT > p, Polynomial< NT > q)
template<class NT >
Polynomial< NT > gcd (const Polynomial< NT > &p, const Polynomial< NT > &q)
template<class NT >
NT res (Polynomial< NT > p, Polynomial< NT > q)
template<class NT >
NT psc (int i, Polynomial< NT > p, Polynomial< NT > q)
template<class NT >
Polynomial< NT > factorI (Polynomial< NT > p, int d)
template<class NT >
bool operator== (const Polynomial< NT > &, const Polynomial< NT > &)
template<class NT >
bool operator!= (const Polynomial< NT > &, const Polynomial< NT > &)
template<class NT >
bool zeroP (const Polynomial< NT > &)
template<class NT >
bool unitP (const Polynomial< NT > &)
template<class NT >
std::ostream & operator<< (std::ostream &, const Polynomial< NT > &)
template<class NT >
std::istream & operator>> (std::istream &, Polynomial< NT > &)

Typedef Documentation

typedef std::pair<BigFloat, BigFloat> BFInterval
typedef std::vector<BFInterval> BFVecInterval

Function Documentation

template<class NT >
NT content ( const Polynomial< NT > &  p)

Here is the caller graph for this function:

template<class NT >
Polynomial<NT> differentiate ( const Polynomial< NT > &  )

Here is the caller graph for this function:

template<class NT >
Polynomial<NT> differentiate ( const Polynomial< NT > &  ,
int  n 
)
template<class NT >
Polynomial<NT> factorI ( Polynomial< NT >  p,
int  d 
)
template<class NT >
Polynomial<NT> gcd ( const Polynomial< NT > &  p,
const Polynomial< NT > &  q 
)
template<class NT >
bool isDivisible ( Polynomial< NT >  p,
Polynomial< NT >  q 
)
template<class NT >
bool operator!= ( const Polynomial< NT > &  ,
const Polynomial< NT > &   
)
template<class NT >
CORE_INLINE Polynomial< NT > operator* ( const Polynomial< NT > &  p1,
const Polynomial< NT > &  p2 
)
template<class NT >
CORE_INLINE Polynomial< NT > operator+ ( const Polynomial< NT > &  p1,
const Polynomial< NT > &  p2 
)
template<class NT >
CORE_INLINE Polynomial< NT > operator- ( const Polynomial< NT > &  p1,
const Polynomial< NT > &  p2 
)
template<class NT >
std::ostream& operator<< ( std::ostream &  ,
const Polynomial< NT > &   
)
template<class NT >
bool operator== ( const Polynomial< NT > &  ,
const Polynomial< NT > &   
) [inline]

Here is the call graph for this function:

template<class NT >
std::istream& operator>> ( std::istream &  ,
Polynomial< NT > &   
)
template<class NT >
CORE_INLINE Polynomial< NT > power ( const Polynomial< NT > &  p,
int  n 
)

Here is the call graph for this function:

template<class NT >
NT psc ( int  i,
Polynomial< NT >  p,
Polynomial< NT >  q 
)
template<class NT >
NT res ( Polynomial< NT >  p,
Polynomial< NT >  q 
)
template<class NT >
CORE_INLINE bool unitP ( const Polynomial< NT > &  p)

Here is the call graph for this function:

template<class NT >
CORE_INLINE bool zeroP ( const Polynomial< NT > &  p)

Here is the call graph for this function:

Here is the caller graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines