mpi_array.globale_creation.full

mpi_array.globale_creation.full(shape=None, fill_value=0, *args, **kwargs)[source]

Return a new array of given shape and type, filled with fill_value.

Parameters:
  • shape (None or sequence of int) – Global shape to be distributed amongst memory nodes.
  • fill_value (scalar) – Fill value.
  • 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 uninitialised elements.