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);
Note:
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.

Note:
For details about availability of UITS services during Thanksgiving break, see UITS Thanksgiving break support hours.

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

  • Fill out this form to submit your issue to the UITS Support Center.
  • Please note that you must be affiliated with Indiana University to receive support.
  • All fields are required.

Please provide your IU email address. If you currently have a problem receiving email at your IU account, enter an alternate email address.

  • Fill out this form to submit your comment to the IU Knowledge Base.
  • If you are affiliated with Indiana University and need help with a computing problem, please use the I need help with a computing problem section above, or contact your campus Support Center.

Please provide your IU email address. If you currently have a problem receiving email at your IU account, enter an alternate email address.