User Guide

p(1, 2);>
Displaying Procedure Definitions
Unlike simple Maple objects, you cannot display the value of a procedure
by entering its name.
geometric_mean;>
You must evaluate the name of the procedure using the print (or eval)
command.
print(geometric_mean);>
Displaying Maple Library Procedure Definitions
Maple procedure definitions are a valuable learning tool. To learn how to
program in Maple, it is recommended that you examine the procedures
available in the Maple library.
By default, the print command returns only the proc and end proc statements
and (if present) the description fields of a Maple procedure.
print(assign);>
To display a Maple library procedure definition, first set the value of the
interface verboseproc option to 2. Then re-execute the print calling se-
quence. See Figure 8.1.
340 8 Basic Programming