#include <AlgObj2DInt.h>
Inheritance diagram for Go::AlgObj2DInt:
Public Member Functions | |
AlgObj2DInt (int degree) | |
Constructor. | |
AlgObj2DInt (const std::vector< Alg2DElem > &terms) | |
Constructor. | |
virtual | ~AlgObj2DInt () |
Destructor. | |
int | numTerms () |
Get the number of terms in the algebraic object. | |
Alg2DElem | term (int index) |
Get a term from the algebraic object. | |
Protected Attributes | |
int | degree_ |
std::vector< Alg2DElem > | terms_ |
bool | power_basis_ |
Definition at line 69 of file AlgObj2DInt.h.
Go::AlgObj2DInt::AlgObj2DInt | ( | int | degree | ) |
Constructor.
degree | the total degree of the algebraic expression, i.e. the maximum sum of exponents of a factor. |
Go::AlgObj2DInt::AlgObj2DInt | ( | const std::vector< Alg2DElem > & | terms | ) |
Constructor.
terms | the terms in the algebraic expression, i.e. elements on the form ![]() |
int Go::AlgObj2DInt::numTerms | ( | ) | [inline] |
Get the number of terms in the algebraic object.
Definition at line 86 of file AlgObj2DInt.h.
References terms_.
Alg2DElem Go::AlgObj2DInt::term | ( | int | index | ) |
Get a term from the algebraic object.