icontent - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

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

ficontent3x+12y

f3

(1)

3x+12yf

x+4y

(2)

gicontent76y+214z

g712

(3)

76y+214zg

2y+9z

(4)

hicontent45y+34x9z

h34

(5)

45y+34x9zh

60y+x12z

(6)

See Also

content