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

Online Help

All Products    Maple    MapleSim


freeze, thaw

replace an expression by a name

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

freeze(expr)

thaw(var)

Parameters

expr

-

the expression to be ``frozen''

var

-

the ``frozen'' variable

Description

• 

freeze replaces its argument, expr (not a complex or real numeric constant, a name, or a string), with a name of the form freeze/R0, freeze/R1, ...

• 

To return the original expression the thaw function must be used.

• 

This can be used to prevent parts of an expression from being subjected to the effects of symbolic manipulation.

Examples

zfreezex+y

zfreeze/R0

(1)

thawz

x+y

(2)

ecos2x+sina+b

ecos2x+sina+b

(3)

expande

2cosx21+sinacosb+cosasinb

(4)

subs2x=freeze2x,e

cosfreeze/R1+sina+b

(5)

expand

cosfreeze/R1+sinacosb+cosasinb

(6)

thaw

cos2x+sinacosb+cosasinb

(7)

See Also

frontend