CoCoA:ClearDenom

From ApCoCoAWiki

ClearDenom

clear common denominator of a polynomial with rational coeffs

Description

This function clears the denominators of the coefficients in a

polynomial over Q. It simply multiplies by the least common multiple of

the denominators.

Example

  Use Q[x,y];
  F := (2/3)*x + (4/5)*y;
  ClearDenom(F);

Syntax

ClearDenom(F:POLY):POLY
   <type>poly</type>