atlas  0.6
Namespaces | Functions
polynomials_def.h File Reference
#include <limits>
#include <cassert>
#include <sstream>
#include <algorithm>
#include <stdexcept>
#include "error.h"
Include dependency graph for polynomials_def.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 atlas
 
 atlas::polynomials
 

Functions

template<typename C >
bool atlas::polynomials::compare (const Polynomial< C > &p, const Polynomial< C > &q)
 Polynomial comparison: whether p < q. More...
 
template<typename C >
void atlas::polynomials::printMonomial (std::ostream &strm, C c, polynomials::Degree d, const char *x)
 
template<typename C >
void atlas::polynomials::safeAdd (C &a, C b)
 a += b. More...
 
template<typename C >
void atlas::polynomials::safeDivide (C &a, C b)
 a /= b. More...
 
template<typename C >
void atlas::polynomials::safeProd (C &a, C b)
 a *= b. More...
 
template<typename C >
void atlas::polynomials::safeSubtract (C &a, C b)
 a -= b. More...