11.07.2015 Views

Advanced Programming Guide

Advanced Programming Guide

Advanced Programming Guide

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Length: 3 or moreA.2 Internal Representations of Data Types • 351if condExpr thenstatSeqelif condExpr thenstatSeq...else statSeqend ifThis structure represents the if . . . then . . . elif . . . else . . . end ifstatement in Maple. If the length is even, the last entry is the body of anelse clause. The remaining entries are interpreted in pairs, where eachpair is a condition of the if or elif clause, followed by the associatedbody.Logical IMPLIESIMPLIES ∧ expr ∧ exprMaple syntax: expr implies exprLength: 3Not Equal or Test for InequalityMaple syntax: expr < exprLength: 3INEQUAT ∧ expr ∧ exprThis structure has two interpretations, depending on the context inwhich it is used. It can be either a test for inequality or a statement ofinequality (not to be confused with an assignment).Negative IntegerMaple syntax: −123Length: 2 or moreINTNEG integer integer . . .This data structure represents a negative integer of arbitrary precision.See the following section about integer representation.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!