convert/algebraic - convert procedures into their algebraic form
|
Calling Sequence
|
|
convert(procedure, algebraic)
|
|
Description
|
|
•
|
The convert(procedure, algebraic) command converts a given procedure into its algebraic form, if possible. For example, the procedure z -> sin(z) + 1 is converted into sin + 1. Remember that in Maple 1(z) = 1.
|
•
|
When the conversion to the algebraic form is not possible, the received procedure itself is returned. For a conversion to be possible, the given procedure is expected to have a calling sequence, that is, be a procedure of some arguments, and return an algebraic expression of its arguments containing only constants or functions of the given arguments.
|
|
|
Examples
|
|
>
|
|
| (1) |
>
|
|
| (2) |
Sometimes, when applying an algebraic expression, to simplify any constant "applied to some variables", use simplify/constants.
>
|
|
| (3) |
>
|
|
| (4) |
Applying the algebraic form generates .
>
|
|
| (5) |
Simplify .
>
|
|
| (6) |
Procedures where the calling sequence is not given are not converted
>
|
|
| (7) |
>
|
|
| (8) |
In other cases, the conversion is not possible: objects which are not constant and not functions of the procedure's arguments are present:
>
|
|
| (9) |
It cannot be expressed in terms of only .
>
|
|
| (10) |
>
|
|
| (11) |
in the procedure body prevents the conversion.
>
|
|
| (12) |
Without the conversion is feasible.
>
|
|
| (13) |
>
|
|
| (14) |
|
|
Download Help Document
Was this information helpful?