codegen[makeproc] - make a Maple procedure from formulae
|
Calling Sequence
|
|
makeproc(a, x)
makeproc(a, x, ...)
|
|
Parameters
|
|
a
|
-
|
formula, list, array of formulae, or Array of formulae
|
x
|
-
|
symbol or a list of symbols
|
|
|
|
|
Description
|
|
•
|
The first argument a is a Maple formula, or a list of equations (which is understood to be a sequence of assignments), a named array of formulae, or an Array of formulae. The second argument x is a symbol or a list of symbols. The makeproc command returns a Maple procedure which evaluates a(x). The symbols in x may include types.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
| (2) |
| (3) |
>
|
|
| (4) |
>
|
makeproc(a,x::numeric);
|
| (5) |
>
|
|
| (6) |
| (7) |
| (8) |
>
|
|
| (9) |
>
|
makeproc(CS,parameters=[x::numeric],locals=[s,c],globals=[Y]);
|
| (10) |
|
|