GetFunctionSignature - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Printer

  

GetFunctionSignature

  

get list of type signatures for function

 

Calling Sequence

Parameters

Description

Examples

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

withCodeGeneration:

PrinterLanguageDefinitionDefaultPrinter:

Printer:-AddFunctionsin,numeric::numeric,sin

sin,

(1)

Printer:-AddFunctioncos,numeric::numeric,cos

cos,

(2)

Printer:-AddFunctiontan,numeric::numeric,tan

tan,

(3)

Printer:-AddFunctiontan,numeric,numeric::numeric,tan

tan,

(4)

Printer:-GetFunctionSignaturecos

numeric::numeric,numeric=double,generic,single,

(5)

Printer:-GetFunctionSignaturetan

numeric::numeric,numeric=double,generic,single,,numeric,numeric::numeric,numeric=double,generic,single,

(6)

See Also

AddFunction

GetFunction

Printer