Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
documentation:language_reference:objects:matrix:functions:zero [2024/12/12 16:56] Maurits W. Haverkortdocumentation:language_reference:objects:matrix:functions:zero [2024/12/12 18:34] (current) Maurits W. Haverkort
Line 5: Line 5:
 Matrix.Zero(//n//) returns a zero matrix of size $n\times n$. Matrix.Zero(//n//) returns a zero 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 table 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