The verify 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/verify

The verify Function in the Natural Units Environment



In the Natural Units environment, the global verify function is replaced by a verify function that converts any unevaluated arithmetic operators, equalities, or inequalities to their global equivalents.  The first two arguments are tested to check whether they are valid unit names.


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

verify(3.50000003 = 'a1', 3.499999997 = 'a1', 'float(100) = boolean');




:-verify(3.50000003 = 'a1', 3.499999997 = 'a1', 'float(100) = boolean');  # unexpectedly false



verify(3.50000003 = 'a1', 3.499999997 = 'a1', 'float(100) = boolean');



:-verify(m, 1250/381*ft, 'units');  # this returns false as 'm' is not interpreted as a meter



verify(m, 1250/381*ft, 'units');



See Also

Units, Units/Natural, Units/Natural/arithmetic operators, Units/Natural/equalities, Units/Natural/inequalities, verify

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