MatrixAdd

From the Oblivion ConstructionSet Wiki
Revision as of 01:27, 9 August 2010 by imported>CSbot (Automated import of articles)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(sum:array) MatrixAdd addend:array addend:array 
(sum:array) MatAdd addend:array addend:array

Returns the sum of two matrices, that is, a matrix where each element is the sum of the elements in the corresponding position in each of the addends. The two matrices must have the same dimensions.