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

Online Help

All Products    Maple    MapleSim


convert/mutable

convert an expression to a mutable data structure

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

convert(expr, mutable)

Parameters

expr

-

expression

Description

• 

The convert(expr, mutable) calling sequence converts the expression expr to a mutable object.

• 

The following conversions are performed:

  

Expressions which are already mutable objects are left as is.

  

Expressions of type list are converted to Arrays.

  

Expressions of type set are converted to MutableSets.

  

Expressions of type string are converted to ByteArrays.

Examples

convert2,4,6,mutable

246

(1)

convert2,4,6,mutable

MutableSet2,4,6

(2)

convert2,4,6,mutable

246

(3)

converthello,mutable

104101108108111

(4)

Compatibility

• 

The convert/mutable command was introduced in Maple 2022.

• 

For more information on Maple 2022 changes, see Updates in Maple 2022.

See Also

convert

MutableSet

rtable

type/mutable