MatrixAdd

From the Oblivion ConstructionSet Wiki
Revision as of 00:26, 10 August 2010 by imported>DragoonWraith
(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.