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

Online Help

All Products    Maple    MapleSim


type/sqrt

check for a square root

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

type(expr, sqrt)

type(expr, 'sqrt'(domain))

Parameters

expr

-

any expression

domain

-

any valid type domain

Description

• 

An expression is of type sqrt if it is a radical and the exponent has a denominator of 2.

• 

An expression is of type sqrt(domain) if it is of type radext(domain) and the exponent has a denominator of 2.

• 

Note that a square root of a product or quotient is not of type sqrt because it evaluates to a product or quotient of square roots.

• 

When used in the second form, it is necessary to enclose sqrt in forward (unevaluation) quotes to prevent the sqrt function from being invoked.

Examples

> 

type⁡512,sqrt

true

(1)
> 

type⁡512,sqrt⁡integer

true

(2)
> 

type⁡y12,sqrt⁡name

true

(3)
> 

type⁡514,sqrt

false

(4)
> 

type⁡x+732,sqrt⁡integer

false

(5)
> 

type⁡x+732,sqrt⁡polynom

true

(6)

See Also

sqrt

type

type/radext

type/radical