Basic Polynomial Algebra Subprograms (BPAS)  v. 1.791
Public Types | Public Member Functions | List of all members
SparseUnivariatePolynomial< Ring > Class Template Reference

A sparsely represented univariate polynomial over an arbitrary ring. More...

#include <upolynomial.h>

Inheritance diagram for SparseUnivariatePolynomial< Ring >:
[legend]

Public Types

typedef SparseUnivariateTempPoly< Ring, SparseUnivariatePolynomial< Ring > > Base
 

Public Member Functions

SparseUnivariatePolynomial< Ring > & operator= (const SparseUnivariatePolynomial< Ring > &other)
 
SparseUnivariatePolynomial< Ring > & operator= (SparseUnivariatePolynomial< Ring > &&other)
 
SparseUnivariatePolynomial< Ring > & operator= (const Ring &r)
 
 SparseUnivariatePolynomial (const SparseUnivariatePolynomial< Ring > &other)
 
 SparseUnivariatePolynomial (SparseUnivariatePolynomial< Ring > &&other)
 
 SparseUnivariatePolynomial (int a)
 
 SparseUnivariatePolynomial (const Integer &a)
 
 SparseUnivariatePolynomial (const RationalNumber &a)
 
 SparseUnivariatePolynomial (const ComplexRationalNumber &a)
 
 SparseUnivariatePolynomial (const DenseUnivariateIntegerPolynomial &b)
 
 SparseUnivariatePolynomial (const DenseUnivariateRationalPolynomial &b)
 
 SparseUnivariatePolynomial (Symbol sym)
 
 SparseUnivariatePolynomial (const Base &b)
 
 ~SparseUnivariatePolynomial ()
 Destroy the polynomial. More...
 

Detailed Description

template<class Ring>
class SparseUnivariatePolynomial< Ring >

A sparsely represented univariate polynomial over an arbitrary ring.

This class automatically adapts its inheritance structure and interface depending on if the template parameter listed is a field or not.

See also
SparseUnivariateTempPoly, SparseUnivariateTempFieldPoly

Inheritance of proper base class, and exporting of proper functions, is automatic when the Ring template parameter is specified at compile time by means of std::conditional.

Constructor & Destructor Documentation

◆ ~SparseUnivariatePolynomial()

template<class Ring>
SparseUnivariatePolynomial< Ring >::~SparseUnivariatePolynomial ( )
inline

Destroy the polynomial.

Parameters

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