larray.LArray.shape

LArray.shape

Returns the shape of the array as a tuple.

Returns:

tuple

Tuple representing the current shape.

Examples

>>> a = ndrange('nat=BE,FO;sex=M,F;type=type1,type2,type3')
>>> a.shape  
(2, 2, 3)