GetExpression - Maple Help

 GetExpression

 Calling Sequence GetExpression(obj)

Parameters

Description

 • The GetExpression command returns an expression that obj represents, if this exists, followed by any variables used in the expression. Otherwise nothing is returned.
 • If obj was not created with user-supplied variables, then automatically generated variables may appear in the returned result.

Examples

 > $\mathrm{with}\left(\mathrm{Grading}\right):$
 > $L≔\mathrm{LinearFunction}\left(\left[0,5\right],\left[3,-2\right]\right):$
 > $\mathrm{GetExpression}\left(L\right)$
 ${-}\frac{{7}{}{v}}{{3}}{+}{5}{,}{v}$ (1)
 > $Q≔\mathrm{QuadraticFunction}\left({w}^{2}-2w+5\right)$
 ${Q}{≔}{\mathrm{<< QuadraticFunction: w^2-2*w+5>>}}$ (2)
 > $\mathrm{GetExpression}\left(Q\right)$
 ${{w}}^{{2}}{-}{2}{}{w}{+}{5}{,}{w}$ (3)

Compatibility

 • The Grading:-GetExpression command was introduced in Maple 18.