Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
documentation:language_reference:objects:matrix:functions:identity [2024/12/12 16:54] Maurits W. Haverkortdocumentation:language_reference:objects:matrix:functions:identity [2024/12/12 17:48] (current) Maurits W. Haverkort
Line 5: Line 5:
 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()]]//).+If the option "Userdata" is set to false (default is true) the output is returned as a table of tables rather than a pointer (compare //[[documentation:language_reference:objects:matrix:functions:ToUserdata|Matrix.ToUserdata()]]// and //[[documentation:language_reference:objects:matrix:functions:ToTable|Matrix.ToTable()]]//).
 ### ###
  
Print/export