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

To view a function's source code, from the Maple prompt, enter:

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

For example, to view the uncommented source code for the plot function, you would enter:

  > print(plot); 

This method lets you view the code for most functions. To view the code for a routine in a package, enter something like:

  > print(LinearAlgebra:-UnitVector);
While much of Maple's source code is viewable, a portion is built into the Maple kernel, and is not visible to users.

If you have questions about using statistical and mathematical software at Indiana University, contact Research Analytics. Research Analytics is located on the IU Bloomington campus at Woodburn Hall 200; staff are available for consultation Monday-Friday 9am-noon and by appointment.

For details about availability of UITS services during winter break, see UITS winter break support hours.

This is document afau in the Knowledge Base.
Last modified on 2016-07-27 10:55:13.

Contact us

For help or to comment, email the UITS Support Center.