The type Function in the Standard Units Environment - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Science and Engineering : Units : Environments : Standard : Units/Standard/type

The type Function in the Standard Units Environment

Description

• 

In the Standard Units environment, the global type function is replaced by a type function that converts any unevaluated arithmetic operators, equalities, or inequalities to their global equivalents.  The first argument is tested to check whether it is a valid unit name.

• 

For more information about this function, see the global type help page.

type(a = 3, 'name=integer');

true

(1)

with(Units[Standard]):

:-type(a = 3, 'name=integer');  # this unexpectedly returns false

false

(2)

type(a = 3, 'name=integer');

true

(3)

See Also

type, Units, Units/Standard, Units/Standard/arithmetic operators, Units/Standard/equalities, Units/Standard/inequalities


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