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.

346 • Appendix A: Internal Representation and ManipulationName ConcatenationMaple syntax: name || exprLength: 3CATENATE ∧ name ∧ expr• If the name entry is one of NAME, CATENATE, LOCAL, or PARAM, andif the expr entry evaluates to an integer, NAME, or STRING, then theresult is a NAME.• If the name entry is a STRING or CATENATE that resolves to a STRING,and if the expr entry evaluates to an integer, NAME, or STRING, thenthe result is a STRING.• If expr is a RANGE, then the result is to generate an EXPSEQ of NAMEsor STRINGs.Complex ValueCOMPLEX ∧ re ∧ imCOMPLEX∧ imMaple syntax: Complex(re,im) or re + im * ILength: 2 or 3The re and im fields must point to INTPOS, INTNEG, RATIONAL, orFLOAT structures, one of the NAMEs infinity or undefined, or a SUMstructure representing -infinity. In the length 3 case, if either re or imis a FLOAT, the other must be a FLOAT as well.Communications Control StructureCONTROL∧ integerMaple syntax: noneLength: 2This is an internal structure used in kernel to user-interface communication.Such a structure never reaches the user level, or even themathematical parts of the kernel.

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

Saved successfully!

Ooh no, something went wrong!