MapleTA[Builtin] - Maple Help

# Online Help

###### All Products    Maple    MapleSim

Home : Support : Online Help : Education : MapleTA Package : Builtin : MapleTA/Builtin/lt

MapleTA[Builtin]

 lt
 less-than test

 Calling Sequence lt(a, b)

Parameters

 a, b - any expression

Description

 • The lt command returns true if a is less 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.

Examples

 > $\mathrm{MapleTA}:-\mathrm{Builtin}:-\mathrm{lt}\left(2,1\right)$
 ${\mathrm{false}}$ (1)
 > $\mathrm{MapleTA}:-\mathrm{Builtin}:-\mathrm{lt}\left(1,1\right)$
 ${\mathrm{false}}$ (2)
 > $\mathrm{MapleTA}:-\mathrm{Builtin}:-\mathrm{lt}\left(1,2\right)$
 ${\mathrm{true}}$ (3)

Compatibility

 • The MapleTA[Builtin][lt] command was introduced in Maple 18.
 • For more information on Maple 18 changes, see Updates in Maple 18.

 See Also

## Was this information helpful?

 Please add your Comment (Optional) E-mail Address (Optional) What is ? This question helps us to combat spam