type/unit - Maple Help

Online Help

All Products    Maple    MapleSim


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

type/unit

check for a Maple unit

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

type(expr, unit)

Parameters

expr

-

expression

Description

• 

A Maple unit is a product of rational powers of unit names, possibly further multiplied by a constant.

• 

The type(expr, unit) function returns true if expr has the form of a Maple unit. Otherwise, false is returned.

Examples

typemeter2,unit

true

(1)

typeL100km,unit

true

(2)

typekgm2s3,unit

true

(3)

typenewtonmeterradius,unit

true

(4)

See Also

type

type/constant

type/unit_name

type/with_unit

Units

Units/Index

 


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