radnum - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


type/radnum

check for an algebraic number in terms of radicals

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

type(expr, radnum)

Parameters

expr

-

any expression

Description

• 

The type(expr, radnum) function checks to see if expr is a radical number.

• 

A radical number is defined as either a rational number or I, or a combination of roots of rational numbers specified in terms of radicals. A sum, product, or quotient of these is also a radical number.

Examples

> 

type⁡23,radnum

true

(1)
> 

type⁡ln⁡2,radnum

false

(2)
> 

type⁡−112,radnum

true

(3)
> 

type⁡5sqrt⁡2,radnum

true

(4)
> 

type⁡3243,radnum

true

(5)
> 

type⁡x14,radnum

false

(6)

See Also

I

sqrt

type

type/algnum

type/radalgnum

type/radfun

type/radical