Differences

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

Link to this comparison view

documentation:language_reference:objects:matrix:functions:zero [2018/08/06 11:50] (current)
Simon Heinze created
Line 1: Line 1:
 +{{indexmenu_n>​999}}
 +====== Zero ======
 +
 +###
 +Matrix.Zero(//​n//​) returns a zero matrix of size $n\times n$.
 +###
 +
 +===== Example =====
 +
 +
 +==== Input ====
 +<code Quanty Example.Quanty>​
 +print(Matrix.Zero(3))
 +</​code>​
 +
 +==== Result ====
 +<file Quanty_Output>​
 +{ { 0 , 0 , 0 } , 
 +  { 0 , 0 , 0 } , 
 +  { 0 , 0 , 0 } }
 +</​file>​
 +
 +===== Table of contents =====
 +{{indexmenu>​.#​1|msort}}
  
Print/export