convert/algebraic - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Procedures and Functions : convert/algebraic

convert/algebraic

convert procedures into their algebraic form

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

convert(procedure, algebraic)

Parameters

procedure

-

any Maple procedure

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

z→ΓzΨz+1

z→ΓzΨz+1

(1)

convert,algebraic

ΓΨ+1

(2)

Sometimes, when applying an algebraic expression, to simplify any constant "applied to some variables", use simplify/constants.

a,z→fa,z+π

a,z→fa,z+π

(3)

convert,algebraic

f+π

(4)

Applying the algebraic form generates πa,z.

a,z

fa,z+πa,z

(5)

Simplify πa,z.

simplify

fa,z+π

(6)

Procedures where the calling sequence is not given are not converted

→sinz

→sinz

(7)

convert,algebraic

→sinz

(8)

In other cases, the conversion is not possible: objects which are not constant and not functions of the procedure's arguments are present:

z→f1,z

z→f1,z

(9)

It cannot be expressed in terms of only f.

convert,algebraic

z→f1,z

(10)

z→LambertWz1+LambertWzz

z→LambertWz1+LambertWzz

(11)

z in the procedure body prevents the conversion.

convert,algebraic

z→LambertWz1+LambertWzz

(12)

Without z the conversion is feasible.

z→LambertWz1+LambertWz

z→LambertWz1+LambertWz

(13)

convert,algebraic

LambertW1+LambertW

(14)

See Also

convert

procedure

simplify/constants

type/algebraic

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam