Printer:-GetFunctionSignature - get list of type signatures for function
|
Calling Sequence
|
|
Printer:-GetFunctionSignature(fname)
|
|
Parameters
|
|
Printer
|
-
|
Printer module
|
fname
|
-
|
string; function name
|
|
|
|
|
Description
|
|
•
|
The GetFunctionSignature command returns a list of acceptable type signatures and precisions for a function fname.
|
•
|
An element of the list returned is itself a list, whose first operand is an accepted type signature for fname, and whose second is a set specifying the precision of this signature.
|
•
|
If fname has not been defined with the AddFunction command, then GetFunctionSignature returns the empty list.
|
|
|
Examples
|
|
>
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
![[[[numeric]::numeric, {numeric = {double, generic, single}}], [[numeric, numeric]::numeric, {numeric = {double, generic, single}}]]](/support/helpjp/helpview.aspx?si=5249/file07583/math115.png)
| (6) |
|
|
Download Help Document
Copyright © MathResources Inc. All Rights Reserved.
www.mathresources.com