type/radnum - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

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

type23,radnum

true

(1)

typeln2,radnum

false

(2)

type112,radnum

true

(3)

type52,radnum

true

(4)

type3243,radnum

true

(5)

typex14,radnum

false

(6)

See Also

I

sqrt

type

type/algnum

type/radalgnum

type/radfun

type/radical