Long and Short Form Calling Sequences
Getting Help with a Command in a Package
Each command in a package and subpackage can be accessed by using either the long form or the short form of the command name in the command calling sequence.
The commands in a package can always be accessed by using the long form of the command name in the command calling sequence.
For example, in the CurveFitting package, use the following long-form calling sequence to compute an interpolating polynomial.
In the Student[LinearAlgebra] subpackage, use the following long-form calling sequence to compute the rank of a Matrix A.
The long form of the command name is necessary if:
- The short form of the command has not been previously defined by using the with command, with(PackageName, command)
- All of the package command short forms have not been previously defined by using with(PackageName)
Additionally, if another object in the current Maple session has the same name as a command in the PackageName package, the PackageName command can be accessed by using unevaluation quotes as PackageName['command'](arguments).
The short form of a particular PackageName command can be used during the current Maple session after with(PackageName, command) has been entered. To use the short form of all the PackageName command names during the current Maple session, enter the with(PackageName) command first.
For example, use the following short-form calling sequence to compute an interpolating polynomial (assuming with(CurveFitting) has already been entered).
Use the following short-form calling sequence to compute the rank of a Matrix A (assuming with(Student[LinearAlgebra]) has already been entered).
To see a list of the packages, for which the short form command names are available, use the packages() command. For more information, see with.
When the underlying implementation of a package is a module, it is also possible to use the form PackageName:-command to access a command from the package. Since the :− notation never evaluates its right-hand side, it is never necessary to use unevaluation quotes in this form. This notation is recommended for accessing PackageName commands from within any program you might write so that it executes as you expect in all contexts. For more information, see module.
Display the help page for a particular PackageName command by searching the Maple help system for one of the following (where command is a name chosen from the PackageName command list).
command (in the case where command is a unique name in Maple)
For a command in a package, the help page will display the package name in gray at the top of the page, followed by the command name.
To quickly access the package overview page from the package command page, use the Parent help topic icon (
) in the Help System Toolbar.
Help System Toolbar
Download Help Document
What kind of issue would you like to report? (Optional)