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:
Return type:

mpi_array.globale.gndarray

Returns:

The object a converted to an instance of mpi_array.globale.gndarray.

See also

array(), asarray()