Sturm  0.0.0
Computing Sturm sequences in C++
Loading...
Searching...
No Matches
Poly.hh File Reference
#include "Sturm.hh"
Include dependency graph for Poly.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Sturm::Poly< Real >
 Polynomial class. More...

Namespaces

namespace  Sturm
 Namespace for the Sturm library.

Macros

#define INCLUDE_STURM_POLY_HH

Functions

template<typename Real>
Poly< Real > Sturm::operator+ (const Poly< Real > &p_1, const Poly< Real > &p_2)
 Define the sum between two polynomials.
template<typename Real>
Poly< Real > Sturm::operator+ (const Poly< Real > &p, Real s)
 Define the sum between a polynomial and a scalar.
template<typename Real>
Poly< Real > Sturm::operator+ (Real s, const Poly< Real > &p)
 Define the sum between a polynomial and a scalar.
template<typename Real>
Poly< Real > Sturm::operator- (const Poly< Real > &p_1, const Poly< Real > &p_2)
 Define the difference between two polynomials.
template<typename Real>
Poly< Real > Sturm::operator- (const Poly< Real > &p, Real s)
 Define the difference between a scalar and a polynomial.
template<typename Real>
Poly< Real > Sturm::operator- (Real s, const Poly< Real > &p)
 Define the difference between a scalar and a polynomial.
template<typename Real>
Poly< Real > Sturm::operator* (const Poly< Real > &p_1, const Poly< Real > &p_2)
 Define the multiplication between two polynomials.
template<typename Real>
Poly< Real > Sturm::operator* (Real p, const Poly< Real > &s)
 Define the multiplication between a scalar and a polynomial.
template<typename Real>
Poly< Real > Sturm::operator* (const Poly< Real > &s, Real p)
 Define the multiplication between a scalar and a polynomial.
template<typename Real>
void Sturm::divide (const Poly< Real > &p_1, const Poly< Real > &p_2, Poly< Real > &q, Poly< Real > &r)
 Divide the polynomial.
template<typename Real>
void Sturm::GCD (const Poly< Real > &p_1, const Poly< Real > &p_2, Poly< Real > &gcd, Real eps=Poly< Real >::EPSILON)
 Compute the greatest common divisor of two polynomials.
template<typename Real>
std::ostream & Sturm::operator<< (std::ostream &os, const Poly< Real > &p)
 Print the polynomial on an output stream.

Macro Definition Documentation

◆ INCLUDE_STURM_POLY_HH

#define INCLUDE_STURM_POLY_HH