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

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

icontent

integer content of a polynomial

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


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /