Difference between revisions of "GenerateIdentityMatrix"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>CSbot
(Automated import of articles)
 
imported>DragoonWraith
 
Line 1: Line 1:
{{BotAddedPage|CSbot|DragoonWraith}}
{{Function
{{Function
  | origin = OBSE
  | origin = OBSE
Line 16: Line 15:
[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (OBSE)]]
[[Category:Functions (OBSE)]]
[[Category:Functions (OBSE v0019)]]
[[Category:Math Functions]]
[[Category:Math Functions]]
[[Category:Math Functions (OBSE)]]
[[Category:Math Functions (OBSE)]]
[[Category:Linear Algebra Functions (OBSE)]]
[[Category:Linear Algebra Functions (OBSE)]]

Latest revision as of 00:24, 10 August 2010

< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(idenMat:array) GenerateIdentityMatrix height:short 
(idenMat:array) IdentityMat height:short

Returns a square (n×n) matrix with each element along the diagonal (from top-left to bottom-right) filled with a 1, and every other element with 0.