FunctionAdvisor/calling_sequence
return the calling sequence of a given mathematical function
Calling Sequence
Parameters
Description
Examples
FunctionAdvisor(calling_sequence, math_function, all)
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
The FunctionAdvisor(calling_sequence, math_function) returns the calling sequence of the function.
Note that syntax and form are synonyms of calling_sequence. For more information, see FunctionAdvisor/synonyms.
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'.
FunctionAdvisor⁡calling_sequence,sin
sin⁡z
FunctionAdvisor⁡syntax,pochhammer
pochhammer⁡z,n
FunctionAdvisor⁡form,WeierstrassP
WeierstrassP⁡z,g__2,g__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.
FunctionAdvisor⁡calling_sequence,LegendreP
LegendreP⁡a,b,z
has⁡,a,b,z
false
FunctionAdvisor⁡calling_sequence,LegendreP,A,z
LegendreP⁡A,b,z
has⁡,A,has⁡,b,has⁡,z
true,false,true
The following illustrate the case where the mathematical function accepts more than one calling sequence.
FunctionAdvisor⁡calling_sequence,arctan
arctan⁡y,x
FunctionAdvisor⁡calling_sequence,arctan,all
arctan⁡z,arctan⁡y,x
FunctionAdvisor⁡calling_sequence,LegendreP,all
LegendreP⁡a,z,LegendreP⁡a,b,z
FunctionAdvisor⁡calling_sequence,Ζ,all
ζ⁡s,ζn⁡s,ζn⁡s,a
See Also
Ei
FunctionAdvisor
FunctionAdvisor/definition
FunctionAdvisor/describe
FunctionAdvisor/synonyms
FunctionAdvisor/topics
Download Help Document