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 32 33
|
---
title: mtx_eye
description: create an identity matrix
categories:
- object
pdcategory: Matrix Creation
see_also:
- matrix
- mtx_egg
- mtx_diag
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: identity matrix
---
$$
I_{m\times n} = \begin{pmatrix}
1 & 0 & \dots & 0 \cr
0 & 1 & \dots & 0 \cr
\vdots & \vdots & \ddots & \vdots \cr
0 & 0 & \dots & 1
\end{pmatrix}
$$
|