Next: , Previous: Mathematica Language Mode, Up: Language Modes

7.8.9 Maple Language Mode

The d W (calc-maple-language) command selects the conventions of Maple.

Maple's language is much like C. Underscores are allowed in symbol names; square brackets are used for subscripts; explicit ‘*’s for multiplications are required. Use either ‘^’ or ‘**’ to denote powers.

Maple uses square brackets for lists and curly braces for sets. Calc interprets both notations as vectors, and displays vectors with square brackets. This means Maple sets will be converted to lists when they pass through Calc. As a special case, matrices are written as calls to the function matrix, given a list of lists as the argument, and can be read in this form or with all-capitals MATRIX.

The Maple interval notation ‘2 .. 3’ is like Giac's interval notation, and is handled the same by Calc.

Maple writes complex numbers as ‘3 + 4*I’. Its special constants are Pi, E, I, and infinity (all three of inf, uinf, and nan display as infinity). Floating-point numbers are written ‘1.23*10.^3’.

Among things not currently handled by Calc's Maple mode are the various quote symbols, procedures and functional operators, and inert (‘&’) operators.