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'.
FunctionAdvisorcalling_sequence,sin
sinz
FunctionAdvisorsyntax,pochhammer
pochhammerz,n
FunctionAdvisorform,WeierstrassP
WeierstrassPz,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.
FunctionAdvisorcalling_sequence,LegendreP
LegendrePa,b,z
has,a,b,z
false
FunctionAdvisorcalling_sequence,LegendreP,A,z
LegendrePA,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.
FunctionAdvisorcalling_sequence,arctan
arctany,x
FunctionAdvisorcalling_sequence,arctan,all
arctanz,arctany,x
FunctionAdvisorcalling_sequence,LegendreP,all
LegendrePa,z,LegendrePa,b,z
FunctionAdvisorcalling_sequence,Ζ,all
ζs,ζns,ζns,a
See Also
Ei
FunctionAdvisor
FunctionAdvisor/definition
FunctionAdvisor/describe
FunctionAdvisor/synonyms
FunctionAdvisor/topics
Download Help Document