Differences

This shows you the differences between two versions of the page.

Link to this comparison view

documentation:language_reference:objects:matrix:functions:identity [2018/08/06 11:28] – created Simon Heinzedocumentation:language_reference:objects:matrix:functions:identity [2018/09/25 14:35] (current) – Added Userdata Option Remark Simon Heinze
Line 4: Line 4:
 ### ###
 Matrix.Identity(//n//) returns an identity matrix of size $n\times n$. Matrix.Identity(//n//) returns an identity matrix of size $n\times n$.
 +
 +If the option "Userdata" is set to true (default is false) the output is returned as a pointer rather than a table of tables (compare //[[documentation:language_reference:objects:matrix:functions:ToUserdata|Matrix.ToUserdata()]]//).
 ### ###
  
Print/export