FunctionAdvisor/calling_sequence - return the calling sequence of a given mathematical function
|
Calling Sequence
|
|
FunctionAdvisor(calling_sequence, math_function, all)
|
|
Parameters
|
|
calling_sequence
|
-
|
name where calling_sequence is one of the following literal names 'calling_sequence', 'form', or 'syntax'
|
math_function
|
-
|
Maple name of mathematical function
|
all
|
-
|
(optional) literal name; 'all'; request all calling sequences of math_function when it accepts more than one
|
|
|
|
|
Description
|
|
•
|
The FunctionAdvisor(calling_sequence, math_function) returns the calling sequence of the function.
|
•
|
If the math_function accepts more than one calling sequence, for example, Ei, by default, the FunctionAdvisor(calling_sequence, math_function) command returns the calling sequence with the most arguments. To obtain all the calling sequences for the math_function, specify the optional argument 'all'.
|
|
|
Examples
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
The variables used by the FunctionAdvisor command to create the calling sequence are local variables. To make the FunctionAdvisor command return results using global variables, pass them as an extra argument in the form of a list.
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
The following illustrate the case where the mathematical function accepts more than one calling sequence.
>
|
|
| (8) |
>
|
|
| (9) |
>
|
|
| (10) |
>
|
|
| (11) |
|
|
Download Help Document
Was this information helpful?