up previous next
ClearDenom    --    clear common denominator of a polynomial with rational coeffs


Syntax
ClearDenom(F: RINGELEM): RINGELEM

Description
This function clears the denominators of the coefficients in a polynomial over QQ. It simply multiplies by the least common multiple of the denominators.

Example
/**/  use QQ[x,y];
/**/  f := (2/3)*x + (4/5)*y;
/**/  ClearDenom(f);
10*x +12*y

See Also