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

Online Help

codegen

  

makeproc

  

make a Maple procedure from formulae

 

Calling Sequence

Parameters

Description

Examples

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.

• 

The optional arguments , , and  specify whether symbols are to be parameters, local variables, or global variables respectively.  P, L, G must be lists of symbols, or symbols with types.

Examples

(1)

makeproc(f,[x,y,t]);

(2)

makeproc(f,[x,y]);

(3)

(4)

makeproc(a,x::numeric);

(5)

(6)

makeproc(A,[x,y]);

(7)

makeproc(A,[x,y,A]);

(8)

makeproc(CS,x);

(9)

makeproc(CS,parameters=[x::numeric],locals=[s,c],globals=[Y]);

(10)

See Also

codegen[joinprocs]

codegen[optimize]

 


Download Help Document