expandoff - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Algebra : Expression Manipulation : Expanding : expandoff

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

expandⅇa+b

ⅇa+b

(2)

expandexpandon

expandon

(3)

expandonexp

expandⅇc+d

ⅇcⅇd

(4)

expandⅇa+b

ⅇa+b

(5)

The last example remains unexpanded because of option remember.

See Also

expand

remember

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam