scikits.cuda.misc.zeros_like

scikits.cuda.misc.zeros_like(a)[source]

Return an array of zeros with the same shape and type as a given array.

Parameters:

a : array_like

The shape and data type of a determine the corresponding attributes of the returned array.

Returns:

out : pycuda.gpuarray.GPUArray

Array of zeros with the shape and dtype of a.