cmatrix.zeros

cmatrix.zeros()

Generate the zeros matrix.

Parameters

type

Description

size_r

int

the row size

size_c

int

the columns size

Returns
Matrix

The zeros matrix

Examples

>>> m=zeros(4,4)
>>> print(m)
| +0.000 | +0.000 | +0.000 | +0.000 |
| +0.000 | +0.000 | +0.000 | +0.000 |
| +0.000 | +0.000 | +0.000 | +0.000 |
| +0.000 | +0.000 | +0.000 | +0.000 |
printed