numpy.matlib.zeros()

numpy.matlib.zeros

numpy.matlib.zeros(shape, dtype=None, order='C') [source]

Return a matrix of given shape and type, filled with zeros.

Parameters:

shape : int or sequence of ints

Shape of the matrix

dtype : data-type, optional

The desired data-type for the matrix, default is float.

order : {‘C’, ‘F’}, optional

Whether to store the result in C- or Fortran-contiguous order, default is ‘C’.