Difference between revisions of "Unit Operators"

From ZCubes Wiki
Jump to navigation Jump to search
 
Line 31: Line 31:
  
 
[[Units|z^3 Units and Conversions]]
 
[[Units|z^3 Units and Conversions]]
[[Special_Notations_in_Naming_Variables]]
+
 
 +
[[Special_Notations_in_Naming_Variables| Using long variables with spaces in z^3]]

Latest revision as of 07:48, 14 June 2016

In z^3, operations can be done in "Unit Unaware" or "Unit Aware" ways. This is to efficient with calculations as the users desire.

The normal operators like +, -, *, -, ^, <, >, <=, ==, >=, !=, etc. are enclosed in two angle brackets to get the unit versions.

Hence the corresponding unit operators are:

<+> - Unit aware addition

<-> - Unit aware subtraction

<*> - Unit aware multiplication

<-> - Unit aware division

<^> - Unit aware power

<<> - Unit aware less than

<>> - Unit aware greater than

<<=>- Unit aware less than or equal to

<==>- Unit aware equal to

<>=>- Unit aware greater than or equal to.

<!=>- Unit aware not equal to.


See Also

z^3 Units and Conversions

Using long variables with spaces in z^3