GiNaCRA
0.6.4
|
A class for a polynomial in general serving as an abstract superclass of both multivariate and univariate polynomials. More...
#include <Polynomial.h>
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. |
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.
Notation is following http://www.possibility.com/Cpp/CppCodingStandard.html.
Definition at line 44 of file Polynomial.h.
GiNaCRA::Polynomial::Polynomial | ( | ) | [inline] |
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.
p | polynomial |
Definition at line 49 of file Polynomial.cpp.