See a function's source code in Maple

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 the UITS Research Applications and Deep Learning team.

This is document afau in the Knowledge Base.
Last modified on 2022-08-08 09:02:29.