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

Online Help

All Products    Maple    MapleSim


MapleTA[Builtin]

  

eq

  

equality test

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

eq(a, b)

Parameters

a, b

-

any expression

Description

• 

The eq command returns true if a and b are equal.  Otherwise false is returned.

• 

This is slightly different than in Maple T.A. proper, which understands 1.0 and 0.0 as true and false.  Because Maple does not equate numbers as boolean conditionals, it is more appropriate to have this function return true and false inside Maple.

Examples

MapleTA:-Builtin:-eqRed,Green

false

(1)

MapleTA:-Builtin:-eqRed,Red

true

(2)

Compatibility

• 

The MapleTA[Builtin][eq] command was introduced in Maple 18.

• 

For more information on Maple 18 changes, see Updates in Maple 18.

See Also

evalb

MapleTA

MapleTA,Builtin,ge

MapleTA,Builtin,gt

MapleTA,Builtin,le

MapleTA,Builtin,lt

MapleTA,Builtin,ne