zeros
- zeros(dim)[source]
Creates an array with only zero entries.
- Parameters:
dim (int or tuple) – Dimension of the array.
- Raises:
ValueError – If the given dimension is not supported.
TypeError – If the given dimension has not the right type.
- Returns:
y – An array of the given dimension with only zero entries.
- Return type: