GiNaCRA  0.6.4
GiNaCRA::Polynomial Class Reference

A class for a polynomial in general serving as an abstract superclass of both multivariate and univariate polynomials. More...

#include <Polynomial.h>

Inheritance diagram for GiNaCRA::Polynomial:
Collaboration diagram for GiNaCRA::Polynomial:

Public Member Functions

 Polynomial ()
 Constructs a polynomial being a standard expression.
 Polynomial (const ex &p) throw ( std::invalid_argument )
 Constructs a polynomial from an expression by checking for being a proper polynomial.

Detailed Description

A class for a polynomial in general serving as an abstract superclass of both multivariate and univariate polynomials.

All expressions being polynomials are not expanded or simplified by any means since this is could influence the semantics of specializations such as UnivariatePolynomial which collect terms for the main variables.

Author:
Ulrich Loup
Since:
2011-11-03
Version:
2011-11-05

Notation is following http://www.possibility.com/Cpp/CppCodingStandard.html.

Definition at line 44 of file Polynomial.h.


Constructor & Destructor Documentation

Constructs a polynomial being a standard expression.

Definition at line 56 of file Polynomial.h.

GiNaCRA::Polynomial::Polynomial ( const ex &  p) throw ( std::invalid_argument )

Constructs a polynomial from an expression by checking for being a proper polynomial.

Parameters:
ppolynomial

Definition at line 49 of file Polynomial.cpp.


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