convert an expression into a Maple procedure
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 sin⁡x, 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.
p ≔ x2+2⁢x+3
f := makeproc(p, x);
Download Help Document