1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
---
title: mtx_zeros
description: create a matrix with all elements set to 0
categories:
- object
pdcategory: Matrix Creation
see_also:
- matrix
- mtx_ones
inlets:
1st:
- type: matrix
description: create an equally-sized matrix
- type: float
description: create a square matrix with the given dimensions
- type: float float
description: create a matrix with the given dimensions
outlets:
1st:
- type: matrix
description: matrix with all elements 0
---
$$
0_{m\times n} = \begin{pmatrix}
0 & 0 & \dots & 0 \cr
0 & 0 & \dots & 0 \cr
\vdots & \vdots & \ddots & \vdots \cr
0 & 0 & \dots & 0
\end{pmatrix}
$$
|