The type Function in the Natural Units Environment - Maple Help

Online Help

All Products    Maple    MapleSim

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

The type Function in the Natural Units Environment



In the Natural 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(a1 = 3, 'name=integer');




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



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



:-type(m, name);



type(m, name);  # this unexpectedly returns 'false', because m is the meter



See Also

type, Units, Units/Natural, Units/Natural/arithmetic operators, Units/Natural/equalities, Units/Natural/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