Type representing indeterminates

Use only in the MuPAD Notebook Interface.

This functionality does not run in MATLAB.


testtype(obj, Type::Indeterminate)


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.


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);



Any MuPAD object

Return Values

See testtype

See Also

MuPAD Domains

MuPAD Functions

Was this topic helpful?