type/algebraic
check for an algebraic expression
Calling Sequence
Parameters
Description
Examples
type(expr, algebraic)
expr
-
expression
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
`.`
`::`
`||`
type⁡2,algebraic
true
type⁡12⁢sin⁡1,algebraic
type⁡a0+a1⁢x,algebraic
type⁡1,2,3,algebraic
false
Note that only the top level type is checked:
type⁡1,2,3⁢sin⁡x,algebraic
type⁡2<3,algebraic
type⁡series⁡sin⁡x,x=π,algebraic
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
Download Help Document