mpi_array.locale.lndarray.__new__

static lndarray.__new__(shape=None, dtype=dtype('float64'), buffer=None, offset=0, strides=None, order=None)[source]

Construct, at least one of :samp:{shape} or decomp should be specified (i.e. at least one should not be None).

Parameters:
  • shape (None or sequence of int) – Local shape of the array, this parameter is ignored.
  • dtype (numpy.dtype) – Data type for elements of the array.
  • buffer (buffer) – The sequence of bytes providing array element storage. Raises ValueError if buffer is None.
  • offset (None or int) – Offset of array data in buffer, i.e where array begins in buffer (in buffer bytes).
  • strides (None or sequence of int) – Strides of data in memory.
  • order ({C, F} or None) – Row-major (C-style) or column-major (Fortran-style) order.