Compatibility - Maple Help

# Online Help

###### All Products    Maple    MapleSim

Compatibility Issues in Maple 2015

 The following is a brief description of the compatibility issues that affect users upgrading from Maple 18 to Maple 2015.

Automatic Evaluation of Pi in Float Expressions

 • In Maple 2015, the symbol Pi is automatically converted to a float when it is adjacent to a float in a sum, product, or power.
 > 1.0*Pi;
 ${3.141592654}$ (1)
 > Pi^0.5;
 ${1.772453851}$ (2)
 > 2*Pi*1.0;
 ${6.283185308}$ (3)
 > Pi+1.0;
 ${4.141592654}$ (4)
 • If your expression has no floats (that is, it contains only integers and rationals), Pi is not converted to a float and remains a symbol (as in previous versions of Maple).
 > 1*Pi;
 ${\mathrm{\pi }}$ (5)
 > Pi^(1/2);
 $\sqrt{{\mathrm{\pi }}}$ (6)
 > 2*Pi*1;
 ${2}{}{\mathrm{\pi }}$ (7)
 > Pi+1;
 ${\mathrm{\pi }}{+}{1}$ (8)
 • Note that the evaluation and conversion happen only when a float operates on Pi. That is, Maple does not evaluate and convert Pi in cases where Pi could be a float. For example, evalb does not perform the comparison in the following statement because evalb cannot compare a float (3.0) to a symbol (Pi).
 > evalb(3.0 < Pi);
 ${3.0}{<}{\mathrm{\pi }}$ (9)
 However, if you perform an arithmetic operation involving Pi and a float, Maple converts Pi to a float, evalb can perform the comparison, and the expected result is returned.
 > evalb(3 < 1.0*Pi);
 ${\mathrm{true}}$ (10)
 • In the following example, Pi is added to a product containing a float (sin(1.0)) and a symbol (x). Although Pi and the float are adjacent to each other, Pi is not converted to a float because the term it is being added to cannot be evaluated to a float.
 > Pi + sin(1.0)*x;
 ${\mathrm{\pi }}{+}{0.8414709848}{}{x}$ (11)
 Once you assign x to a float, the second term evaluates to a float, and Pi is then converted to a float.
 > x := 0.0;
 ${x}{≔}{0.}$ (12)
 > Pi + sin(1.0)*x;
 ${3.141592654}$ (13)

Reading .m Files

 • Maple 2015 will no longer read .m files located in libname by default. In order to get Maple to read .m files, set readdotm kernel option to true:
 > kernelopts('readdotm'=true):

Greek Letters

 • In Maple 2015, the name epsilon will be displayed as the lunate epsilon $\mathrm{\epsilon }$ instead of as $\mathrm{ϵ}$. The lunate epsilon will parse as the name epsilon, while the "inverted 3" epsilon will parse as the name varepsilon.
 • Additionally, the names varkappa, varphi, varpi, varrho, varsigma and vartheta will be displayed as $\mathrm{\varkappa }$, $\mathrm{\varphi }$, $\mathrm{\varpi }$, $\mathrm{\varrho }$, $\mathrm{\varsigma }$ and $\mathrm{\vartheta }$ respectively. Conversely, these 2-D math symbols will parse to their corresponding Maple names.

Units Display

 • In previous releases of Maple, units were displayed with double brackets (except in the Natural units environment). For example,
 • In Maple 2015, the double brackets around a unit are not displayed unless you are editing the unit. They are not shown in output.
 Units display in document:
 When cursor is in the unit expression, the double brackets appear: