Indiana University
University Information Technology Services
  
What are archived documents?

In Maple, how can I see a function's source code?

To view a function's source code from within Maple, issue the following commands at the Maple prompt:

> interface(verboseproc=2); > readlib(function);

Above, function is the name of a Maple function. For example, entering the following will give you the uncommented source code for the Maple function plot:

> readlib(plot);

You can view the code for most functions this way. To view the code for a routine in a package, use the syntax of the following example:

> readlib(linalg:-charpoly);

Note: 95% of Maple's source code will be viewable; the other 5% is built into the Maple kernel and is not viewable to the user.

For more information about statistical and mathematical software, email the UITS Stat/Math Center, visit the center's web page, or phone 812-855-4724 (IUB) or 317-278-4740 (IUPUI). The center is located in Bloomington at 410 N. Park Avenue, and is open for consultation by appointment Monday-Friday 9am-5pm.

Also see:

This is document afau in domain all.
Last modified on November 30, 2007.
Please tell us, did you find the answer to your question?