* - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Overview of the PolynomialIdeals:-Operators Subpackage

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

J + K

J * K

J / K

J ^ n

f in J

J subset K

Simplify(J)

Parameters

J, K

-

polynomial ideals

n

-

positive integer

f

-

polynomial

Description

• 

The Operators subpackage provides access to Add, Multiply, and Quotient as binary operators.  An exponentiation operator, which uses binary powering on Multiply, is also provided.  These operators are intended for interactive use with small examples.

  

Note: The `in` and `subset` operators are bound to the IdealMembership and IdealContainment routines when the PolynomialIdeals package is loaded. They are not part of the Operators subpackage.

• 

The arithmetic operators accept ordinary expressions as well as ideals.  Wherever an expression f is encountered, the operators construct <f> in an appropriate polynomial ring.

• 

Unlike their respective commands in PolynomialIdeals, the arithmetic operators simplify their results to a canonical form using reduced Groebner bases. The Simplify command is also rebound so that it simplifies ideals to this same canonical form.  The parent PolynomialIdeals package command behavior of Simplify can still be accessed through the long form PolynomialIdeals:-Simplify.

• 

Operator overloading and the simplification of ideals to a canonical form is often very expensive and may be impractical for problems of even a moderate size.  In this case, don't use these operators.  Use the Add, Multiply, and Quotient commands in the parent PolynomialIdeals package, and apply the Simplify command selectively.

• 

These operators are part of the Operators subpackage, and can be used in their binary form only after executing with(PolynomialIdeals:-Operators), or inside a use statement.

Examples

withPolynomialIdeals&colon;

withOperators

`*`&comma;`+`&comma;Simplify&comma;`^`

(1)

Jx21

Jx21

(2)

Ky2y

Ky2y

(3)

Lx+1&comma;y1

Lx+1&comma;y1

(4)

J+L

x+1&comma;y1

(5)

J+KL

x21&comma;y2y

(6)

J+KL

x21&comma;y2y&comma;xyy

(7)

L2L2

L2x2+2x+1&comma;y22y+1&comma;xyx+y1

(8)

fx2+2x+1

fx2+2x+1

(9)

gy1

gy1

(10)

finL2

true

(11)

ginL2

false

(12)

L2subsetf&comma;g

true

(13)

Hy21&comma;characteristic=3

Hy2+2

(14)

Hg

y+1

(15)

IdealInfo:-Characteristic

3

(16)

gH

1

(17)

IdealInfo:-Characteristic

3

(18)

See Also

PolynomialIdeals

PolynomialIdeals:-Add

PolynomialIdeals:-IdealContainment

PolynomialIdeals:-IdealInfo

PolynomialIdeals:-IdealMembership

PolynomialIdeals:-Multiply

PolynomialIdeals:-Quotient

PolynomialIdeals:-Simplify