up previous next
returns a monomial (powerproduct) with given exponents
MakeTerm(R: RING, L: LIST of INT): RINGELEM 
This function returns the powerproduct in
R
whose list of exponents is
L
.
It is the inverse of
exponents
. The length of
L
must be equal to
the number of indeterminates in
R
.
This function was called
LogToTerm
up to version CoCoA5.1.2.
/**/ use R ::= QQ[x,y,z];
/**/ MakeTerm(R, [2,3,5]);
x^2*y^3*z^5
/**/ exponents(It);
[2, 3, 5]
