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 beNone
).Parameters: - shape (
None
or sequence ofint
) – 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. RaisesValueError
ifbuffer is None
. - offset (
None
orint
) – Offset of array data in buffer, i.e where array begins in buffer (in buffer bytes). - strides (
None
or sequence ofint
) – Strides of data in memory. - order ({
C
,F
} orNone
) – Row-major (C-style) or column-major (Fortran-style) order.
- shape (