larray.LArray.nbytes

LArray.nbytes

Returns the number of bytes used to store the array in memory.

Returns:

int

Number of bytes in array.

Examples

>>> a = ndrange('sex=M,F;type=type1,type2,type3', dtype=float)
>>> a.nbytes
48