up previous next
LogToTerm

returns a monomial (power-product) with given exponents

Syntax
LogToTerm(R:RING, L:LIST):POLY

where L is a list of integers.

Description
This function returns the power-product whose list of exponents is L.

Example
/**/  Use R ::= QQ[x,y,z];
/**/  LogToTerm(R, [2,3,5]);
x^2*y^3*z^5

/**/  log(It);
[2, 3, 5]

See Also