Function: math[names] - return all the names in an expression sequence

Calling Sequence:

names(exprseq);
names(exprseq, `union`);

Parameters:

exprseq - an sequence of one or more expressions

`union` - the name `union`

Description:

This function returns all indeterminates of type name in expreseq that are not constants.

In the first form the return is a sequence of all the names found in exprseq, where an indeterminate may occurr multiple times in the output.

In the second form, by specifying the name `union` (note the backquotes) the return is also a sequence of one or more indeterminates where each indeterminate only appears once in the result.

This function is part of the math package, and so can be used only after performing the command with(math) or with(math, names).

Examples:

> with(math, names):

> exprseq := sin(x*y+Pi/2), x:

> names(exprseq);

[Maple Math]

> names(exprseq, `union`);

[Maple Math]

See Also:

math/getindets .

Version History:

Version 1.0 - December 11, 1998