class
TpsMonomial
(Return to index)
Exponent array for Tps<T>.
A representation of the exponents for a Tps monomial.
Type: |
Instantiable |
Include file: |
./Algebra/TpsMonomial.hh |
Synopsis (including inherited members):
Documentation:
- Public members:
-
TpsMonomial
(int)
;
- Constructor.
Array of zeros with length nVar, defines nVar variables
with zero exponent each.
-
TpsMonomial
(int,int)
;
- Constructor.
Array with length nVar, define variable with index var.
-
int getIndex
()const
;
- Convert.
Convert the monomial to the corresponding Giorgelli index.
-
int getOrder
()const
;
- Get order.
Compute the monomial's order, i.e. the sum of all exponents.
-
int getVariables
()const
;
- Get variables.
Return the monomial's number of variables, i.e. the number of exponents.
-
TpsMonomial operator*
(const TpsMonomial&)const
;
- Product.
Return the exponent set for the product of the monomials denoted by
this and rhs, i.e. the sum of the exponents for each
variable.
-
int& operator[]
(int)
;
- Get exponent.
Return a reference to the exponent of variable index.
-
int operator[]
(int)const
;
- Get exponent.
Return value of the exponent of variable index.
Documentation generated by fci on Mon Feb 7 11:41:55 2000