type/algebraic - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Data Types : Type Checking : Types : type/algebraic

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)

type1sin12,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&equals;&pi;&comma;algebraic

true

(7)

See Also

+,-,*,/,^

factorial

float

fraction

integer

type

type/algnum

type/complex

type/extended_numeric

type/function

type/indexed

type/name

type/SERIES

type/series

type/uneval

type/zppoly

 


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