get_alignment

hipecta._memory.get_alignment()

empty(shape, dtype=float64)

Return a new array, memory aligned, of given shape and type, without initializing entries.

shape : int or tuple of int
Shape of the empty array
dtype : data-type, optional
Desired output data-type.
out : numpy.ndarray
Array of uninitialized (arbitrary) data of the given shape, dtype, and order.
>>> hipecta.empty([2, 2])
array([[ -9.74499359e+001,   6.69583040e-309],
       [  2.13182611e-314,   3.06959433e-309]])         #random