Difference between revisions of "Array.subtract"

From ZCubes Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
==Array.subtract(Thing) ==
 
==Array.subtract(Thing) ==
  
Array add a Thing to each element.
+
Array subtract a Thing to each element.
  
 
[[1,3,4],[2,3,4]].subtract(45)
 
[[1,3,4],[2,3,4]].subtract(45)
Line 27: Line 27:
 
[[Array.div]]
 
[[Array.div]]
  
[[Array.setunit]]
+
[[Array.mod]]

Latest revision as of 11:54, 1 March 2017


Array.subtract(Thing)

Array subtract a Thing to each element.

[[1,3,4],[2,3,4]].subtract(45)

-44 -42 -41
-43 -42 -41

See Also

Array.add

Array.subtract

Array.multiply

Array.divide

Array.div

Array.mod