The mpi_array.globale_creation Module

Defines mpi_array.globale.gndarray creation functions.

Ones and zeros

empty([shape, dtype, order, ...]) Creates array of uninitialised elements.
empty_like(ary[, dtype, order, subok]) Return a new array with the same shape and type as a given array.
eye(N[, M, k, dtype]) Not implemented.
identity(n[, dtype]) Not implemented.
ones([shape, dtype, comms_and_distrib, order]) Creates array of one-initialised elements.
ones_like(ary, *args, **kwargs) Return a new one-initialised array with the same shape and type as a given array.
zeros([shape, dtype, order, comms_and_distrib]) Creates array of zero-initialised elements.
zeros_like(ary, *args, **kwargs) Return a new zero-initialised array with the same shape and type as a given array.
full([shape, fill_value]) Return a new array of given shape and type, filled with fill_value.
full_like(ary, fill_value, *args, **kwargs) Return a new array with the same shape and type as a given array.

From existing data

array(a[, dtype, copy, order, subok, ndmin]) Create a mpi_array.globale.gndarray from an existing array-like object.
asarray(a[, dtype, order]) Converts a (potentially via a copy) to a mpi_array.globale.gndarray.
asanyarray(a[, dtype, order]) Convert the input to an ndarray, but pass mpi_array.globale.gndarray subclasses through.
copy(ary, **kwargs) Return an array copy of the given object.