Compatibility Issues in Maple 2015 - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : System : Information : Updates : Maple 2015 : updates/Maple2015/compatibility

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

Reading .m Files

Greek Letters

Units Display

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;

π

(5)

Pi^(1/2);

π

(6)

2*Pi*1;

2π

(7)

Pi+1;

π+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<π

(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);

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;

π+0.8414709848x

(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;

x0.

(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 ε instead of as ϵ. 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 ϰ, ϕ, ϖ, ϱ, ς and ϑ 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: