mpi_array.globale_creation.asanyarray¶
-
mpi_array.globale_creation.
asanyarray
(a, dtype=None, order=None, **kwargs)[source]¶ Convert the input to an ndarray, but pass
mpi_array.globale.gndarray
subclasses through.Parameters: - a (scalar,
tuple
,list
,numpy.ndarray
, etc) – Object converted to ampi_array.globale.gndarray
. - dtype (
numpy.dtype
) – Thenumpy.dtype
for the returnedmpi_array.globale.gndarray
. - 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. Defaults to'C'
.
Return type: Returns: The object
a
converted to an instance ofmpi_array.globale.gndarray
.- a (scalar,