mpi_array.globale_creation.zeros

mpi_array.globale_creation.zeros(shape=None, dtype='float64', order='C', comms_and_distrib=None, **kwargs)[source]

Creates array of zero-initialised elements.

Parameters:
  • shape (None or sequence of int) – Global shape to be distributed amongst memory nodes.
  • dtype (numpy.dtype) – Data type of array elements.
  • order ('C', 'F') – Only 'C' implemented. Whether to store multi-dimensional data in row-major (C-style) or column-major (Fortran-style) order in memory.
  • comms_and_distrib (numpy.dtype) – Data type of array elements.
Return type:

mpi_array.globale.gndarray

Returns:

Newly created array with zero-initialised elements.