mpi_array.globale_creation.copy

mpi_array.globale_creation.copy(ary, **kwargs)[source]

Return an array copy of the given object.

Parameters:
  • ary (mpi_array.globale.gndarray) – Array to copy.
  • 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:

mpi_array.globale.gndarray

Returns:

A copy of ary.