expandoff - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


expandoff

suppress expansion of function(s)

expandon

unsuppress expansion of function(s)

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

expandoff(f1, f2, ...)

expandon(f1, f2, ...)

Parameters

f1, f2, ...

-

function names

Description

• 

A call to expandoff suppresses the expansion of the functions listed. If no arguments are passed, the expansion of all functions is suppressed.

• 

Conversely, expandon unsuppresses the expansion of the functions listed. If no arguments are passed, expansion of all functions is reasserted.

• 

Both functions return NULL as the result.

• 

Note that expand uses option remember. See the examples below.

• 

The expandoff function should be defined by the command expand(expandoff()) before it is used. The expandon function should be defined by the command expand(expandon()) before it is used.

Examples

expandexpandoff

expandoff

(1)

expandoffexp

expandexpa+b

ⅇa+b

(2)

expandexpandon

expandon

(3)

expandonexp

expandexpc+d

ⅇcⅇd

(4)

expandexpa+b

ⅇa+b

(5)

The last example remains unexpanded because of option remember.

See Also

expand

remember