Go to the first, previous, next, last section, table of contents.

Maple Language Mode

The d W (calc-maple-language) command selects the conventions of Maple, another mathematical tool from the University of Waterloo.

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' has no surrounding brackets; Calc reads `2 .. 3' as the closed interval `[2 .. 3]', and writes any kind of interval as `2 .. 3'. This means you cannot see the difference between an open and a closed interval while in Maple display mode.

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.


Go to the first, previous, next, last section, table of contents.