Type::Indeterminate

Type representing indeterminates

Use only in the MuPAD Notebook Interface.

This functionality does not run in MATLAB.

Syntax

testtype(obj, Type::Indeterminate)

Description

Type::Indeterminate represents all objects that MuPAD® regards as indeterminates: identifiers except those in Type::ConstantIdents, plus indexed identifiers.

This type does not represent a property: it cannot be used in assume to mark an identifier as an algebraic constant.

Examples

Example 1

The following call selects all indeterminates from a list:

delete x:
testtype(x, Type::Indeterminate),
testtype(sqrt(2), Type::Indeterminate);

l := [x, x[2], x[sqrt(2) + I], x[x], PI, PI[1], sin(x), 3.0];
select(l, testtype, Type::Indeterminate)

Note that testtype evaluates its arguments:

y := 5;
testtype(y, Type::Indeterminate),
testtype(hold(y), Type::Indeterminate);

Parameters

obj

Any MuPAD object

Return Values

See testtype

See Also

MuPAD Domains

MuPAD Functions

Was this topic helpful?