le - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

MapleTA[Builtin]

  

le

  

less-than or equal test

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

le(a, b)

Parameters

a, b

-

any expression

Description

• 

The le command returns true if a is less than or equal to 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

MapleTA:-Builtin:-le2,1

false

(1)

MapleTA:-Builtin:-le1,2

true

(2)

MapleTA:-Builtin:-le1,1

true

(3)

Compatibility

• 

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

• 

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

See Also

MapleTA

MapleTA,Builtin,ge

MapleTA,Builtin,gt

MapleTA,Builtin,le

MapleTA,Builtin,lt

MapleTA,Builtin,ne

 


Download Help Document