MapleTA[Builtin]
gt
greater-than test
Calling Sequence
Parameters
Description
Examples
Compatibility
gt(a, b)
a, b
-
any expression
The gt command returns true if a is greater than b. 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.
MapleTA:-Builtin:-gt⁡1,2
false
MapleTA:-Builtin:-gt⁡1,1
MapleTA:-Builtin:-gt⁡2,1
true
The MapleTA[Builtin][gt] command was introduced in Maple 18.
For more information on Maple 18 changes, see Updates in Maple 18.
See Also
evalb
MapleTA
MapleTA,Builtin,eq
MapleTA,Builtin,ge
MapleTA,Builtin,le
MapleTA,Builtin,lt
MapleTA,Builtin,ne
Download Help Document