Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
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
makeproc(sin(x), x);
f := makeproc(p, x);
makeproc([2,3],[4,5]);
makeproc([a,b],'slope'=m);
See Also
operator, operators[functional], Student, unapply
Download Help Document