# Differences

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

 — documentation:language_reference:objects:matrix:functions:zero [2018/08/06 11:50] (current)Simon Heinze created 2018/08/06 11:50 Simon Heinze created 2018/08/06 11:50 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 ==== + ​ + print(Matrix.Zero(3)) + ​ + + ==== Result ==== + ​ + { { 0 , 0 , 0 } , + { 0 , 0 , 0 } , + { 0 , 0 , 0 } } + ​ + + ===== Table of contents ===== + {{indexmenu>​.#​1|msort}}