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

# Online Help

###### All Products    Maple    MapleSim

MmaTranslator[Mma]

 Level
 return a list of expressions on specified levels

 Calling Sequence Level(arguments)

Parameters

 arguments - Maple translation of the Mathematica command arguments

Description

 • The Level command returns a list of all subexpressions on the specified levels for a expression.

Examples

 > $\mathrm{with}\left(\mathrm{MmaTranslator}\left[\mathrm{Mma}\right]\right):$

Use the command with the Maple translation.

 > $\mathrm{Level}\left(a+bx+c{y}^{2}+d{x}^{2},\left[2\right]\right)$
 $\left[{c}{,}{{y}}^{{2}}{,}{d}{,}{{x}}^{{2}}{,}{b}{,}{x}\right]$ (1)

Alternatively, you can use the FromMma command with the evaluate option specified.

 > $\mathrm{with}\left(\mathrm{MmaTranslator}\right):$
 > $\mathrm{FromMma}\left(\mathrm{Level\left[a + b x + c y^2 + d x^2, \left\{2\right\}\right]},\mathrm{evaluate}\right)$
 $\left[{c}{,}{{y}}^{{2}}{,}{d}{,}{{x}}^{{2}}{,}{b}{,}{x}\right]$ (2)

 See Also