icontent - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


icontent

integer content of a polynomial

 

Calling Sequence

Parameters

Description

Thread Safety

Examples

Calling Sequence

icontent(expr)

Parameters

expr

-

expanded polynomial with rational coefficients

Description

• 

icontent computes a rational number such that dividing the expanded polynomial by it makes the polynomial primitive over the integers. Thus, for integer coefficients, icontent returns the greatest common divisor of the coefficients.

• 

For rational coefficients, icontent computes the least common multiple of the denominators of all fractions in addition to the greatest common divisor of the numerators of the coefficients.

Thread Safety

• 

The icontent command is thread-safe as of Maple 15.

• 

For more information on thread safety, see index/threadsafe.

Examples

> 

f≔icontent⁡3⁢x+12⁢y

f≔3

(1)
> 

3⁢x+12⁢yf

x+4⁢y

(2)
> 

g≔icontent⁡76⁢y+214⁢z

g≔712

(3)
> 

76⁢y+214⁢zg

2⁢y+9⁢z

(4)
> 

h≔icontent⁡45⁢y+34⁢x−9⁢z

h≔34

(5)
> 

45⁢y+34⁢x−9⁢zh

60⁢y+x−12⁢z

(6)

See Also

content