numpy.matlib.empty#

matlib.empty(shape, dtype=None, order='C')[source]#

Return a new matrix of given shape and type, without initializing entries.

Parameters:
shapeint or tuple of int

Shape of the empty matrix.

dtypedata-type, optional

Desired output data-type.

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

Whether to store multi-dimensional data in row-major (C-style) or column-major (Fortran-style) order in memory.

See also

numpy.empty

Equivalent array function.

matlib.zeros

Return a matrix of zeros.