student[makeproc] - convert an expression into a Maple procedure
|
Calling Sequence
|
|
makeproc(expr, x)
makeproc([x1,y1], [x2,y2])
makeproc([x,y],'slope'=m) or
makeproc('slope'=m,[x,y])
|
|
Parameters
|
|
expr
|
-
|
any expression
|
x
|
-
|
variable name
|
|
|
|
|
Description
|
|
•
|
Important: The student package has been deprecated. Use the superseding package Student instead.
|
•
|
The result of calling makeproc(expr, x) is a procedure which when evaluated at x returns expr.
|
•
|
It is useful when evaluating an expression at several values of x.
|
•
|
If expr is an unevaluated function call such as , then the name of the function is returned.
|
•
|
The result of calling makeproc([x1,y1], [x2,y2]) is a procedure with the result being the line created from two given points [x1,y1] and [x2,y2].
|
•
|
The result of calling makeproc([x,y], 'slope'=m) or makeproc('slope'=m, [x,y]) is a procedure with the result being the line created from the point [x, y] and the slope m.
|
•
|
The command with(student,makeproc) allows the use of the abbreviated form of this command.
|
|
|
Examples
|
|
Important: The student package has been deprecated. Use the superseding package Student instead.
>
|
|
| (1) |
>
|
|
| (2) |
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
| (6) |
>
|
makeproc([a,b],'slope'=m);
|
| (7) |
|
|