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

Online Help

All Products    Maple    MapleSim


type/algebraic

check for an algebraic expression

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

type(expr, algebraic)

Parameters

expr

-

expression

Description

• 

This command returns true if expr is of type algebraic (algebraic), and false otherwise.

• 

An expression is of type algebraic if its top level type is one of the following:

`+`

`*`

`^`

complex

extended_numeric

function

indexed

name

SDMPolynom

SERIES

series

uneval

zppoly

`.`

`::`

`||`

Examples

type2,algebraic

true

(1)

type12sin1,algebraic

true

(2)

typea0+a1x,algebraic

true

(3)

type1,2,3,algebraic

false

(4)

Note that only the top level type is checked:

type1,2,3sinx,algebraic

true

(5)

type2<3&comma;algebraic

false

(6)

typeseriessinx&comma;x=π&comma;algebraic

true

(7)

See Also

+,-,*,/,^

factorial

float

Formats/ByType/algebraic

fraction

integer

type

type/algnum

type/complex

type/extended_numeric

type/function

type/indexed

type/name

type/SERIES

type/series

type/uneval

type/zppoly