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

Online Help

All Products    Maple    MapleSim


convert/maple

convert a foreign object to a Maple expression

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

convert( expr, maple )

Parameters

expr

-

expression to convert

Description

• 

The convert(expr, maple) function converts a foreign expression expr into a Maple expression. If expr is already a Maple expression, this conversion has no effect.

Examples

pytPython:-EvalString{'city' : 'Montevideo', 'country' : 'Uruguay'}

pyt<Python object: {'city': 'Montevideo', 'country': 'Uruguay'}>

(1)

typepyt&comma;python

true

(2)

Tconvertpyt&comma;maple

Ttablecountry=Uruguay&comma;city=Montevideo

(3)

typeT&comma;maple

true

(4)

Compatibility

• 

The convert/maple command was introduced in Maple 2023.

• 

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

See Also

type/maple

type/python