find indeterminates of an expression - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Algebra : Expression Manipulation : indets

indets - find indeterminates of an expression

Calling Sequence

indets(expr)

indets(expr, typename)

Parameters

expr

-

any expression

typename

-

(optional) the name of a type

Description

• 

The command indets with only one argument returns a set containing all the indeterminates of expr.

• 

The argument expr is viewed as a rational expression (an expression formed by applying only the operations +, -, *, / to its subexpressions). Therefore, expressions such as sinx, fx,y, and x are treated as indeterminates.

• 

Expressions of type constant, such as sin(1), f3,5, and 2, are not considered to be indeterminates in the single-argument case.

• 

If a second argument typename is specified then the value returned is a set containing all subexpressions in expr which are of type typename, including subexpressions which may not have been considered to be indeterminates in the single-argument case.

Examples

indetsxy+zx

x,y,z

(1)

indets3x25xy+6y2

x,y

(2)

a:=5x3siny+xy4+ⅇz2

a:=5x3siny+xy4+ⅇz2

(3)

indetsa

x,y,z,ⅇz2,siny

(4)

indetsa,function

ⅇz2,siny

(5)

indetsa,constant

3,2,4,5

(6)

indetsa,trig

siny

(7)

indetsa,name

x,y,z

(8)

indetsa,atomic

3,2,4,5,x,y,z

(9)

e:=x12+ⅇx2+f9:

indetse

x,x,ⅇx2

(10)

indetse,constant

2,9,12,f9

(11)

indetse,function

ⅇx2,f9

(12)

Efficiently selecting all occurrences of functions f and g from an expression:

indetse,'specfuncanything,f,g'

f9

(13)

When there are no occurrences of the specified type, an empty set is returned:

indets262

(14)

indetsx,constant

(15)

See Also

depends, evalindets, subsindets, type[structure]


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam