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.

360 • Appendix A: Internal Representation and Manipulationnames are still available. The lexical-seq for a procedure contains entriesfor any surrounding-scope identifiers used by that procedure or by anyprocedures contained within it.Product, Quotient, PowerPROD ∧ expr ∧ expon ∧ expr ∧ expon . . . . . .Maple syntax: expr ^ expon * expr ^ expon ...Length: 2n + 1This structure is interpreted as pairs of factors and their numeric exponents.Rational or integer expressions to an integer power are expanded.If there is a rational constant in the product, this constant is moved to thefirst entry by the simplifier. A simple power, such as a^2, is represented asa PROD structure. More complex powers involving non-numeric exponentsare represented as POWER structures.RangeMaple syntax: expr .. exprLength: 3RationalMaple syntax: 1/2Length: 3RANGE ∧ expr ∧ exprRATIONAL ∧ integer ∧ pos − integerThis structure is one of the basic numeric objects in Maple. Note thatthis is not a division operation, but only a representation for rationalnumbers. Both fields must be integers (INTPOS, INTNEG or an immediateinteger) and the second must be positive.Read StatementMaple syntax: read exprLength: 2READ∧ exprThe Maple read statement. The expression must evaluate to either astring or symbol (STRING or NAME structure), and specifies the name ofthe file to read.

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

Saved successfully!

Ooh no, something went wrong!