Complete Command - Maple Help

Home : Support : Online Help : Create Maple Worksheets : Enter Expressions : Enter 2-D Math : worksheet/expressions/completecommand

Complete Command

Command Completion for 2-D Math

 Automatic Command Completion for 2-D Math When typing command and function names in 2-D Math, Maple offers automatic completions for items that are unambiguous. When such an item is available, it appears as a yellow tooltip-style popup. Pressing the Tab or Return/Enter key inserts the suggested item.

Command Completion for 2-D Math Using Command Completion List

The symbol and command completion feature can be used to enter mathematical symbols and Maple commands. When you type the first few letters of a symbol or command name and then choose Complete Command from the Tools menu (or use the shortcut key Esc), Maple displays a popup list of matching symbols and commands.

The command completion list can include command completion templates. These command completion templates offer calling sequences for Maple commands, making it easy to enter proper Maple syntax.

To use command completion:

 1 Begin entering a command in the document or worksheet in 2-D math mode.
 2 To list all Maple symbols, commands, functions, and packages that match the entered text, from the Tools menu select Complete Command, or use the shortcut key:
 Esc, Macintosh, Windows, and Linux
 Ctrl + Space, Windows
 Ctrl + Shift + Space, Linux
 3 If there is a unique completion, it is inserted. Otherwise, a list of matches is displayed. Select the correct completion from the list.
 4 If there are any placeholders in your selection, they will appear in a colored font. Replace the placeholders in the template, using Tab to move to the next placeholder.
 • For example, suppose you want to solve a differential equation with initial conditions. Type dsolve [Esc]. The command completion list appears:

 • Select dsolve(with initial conditions). Fill in the placeholders with your values:
 – Replace ODE with $y\text{'}\text{'}$=$2y+1$.
 – Replace ICs with $y\left(0\right)=1$, $y\text{'}$=0.
 – Replace y with $y$ and x with $x$.
 • The result is $y\left(x\right)={ⅇ}^{\sqrt{2}x}\mathrm{_C2}+{ⅇ}^{-\sqrt{2}x}\left(\frac{3}{2}-\mathrm{_C2}\right)-\frac{1}{2}$

Command Completion for Maple Input

As you enter a phrase in Maple Input (1-D math notation), the automatic command completion feature suggests a completion. Instead of typing an entire command, you can type the command partially in the worksheet and then insert the suggested command.

By default, automatic command completion is enabled. If it is not enabled:

1. From the Tools menu, select Options, and then click the Interface tab.

2. Select the Automatic command completion check box.

To use automatic command completion:

 1 Begin entering a command in Maple Input in the worksheet or document. Maple compares your entry with Maple packages, commands, and functions. If the entered text has a unique completion, the matching command name is displayed above the entry.

 2 You can continue typing the command or press Enter to insert the suggested command.

To turn off automatic command completion:

1. From the Tools menu, select Options, and then click the Interface tab.

2. Clear the Automatic command completion check box.

For information about command completion in TTY versions of Maple, see Command-Line Editing.