Documentation for method shape
assembled from the following pages:
Class: Array §
From Array
(Array) method shape §
Defined as:
method shape()
Returns the shape of the array as a list.
Example:
my [2;3] = ( < 1 2 3 >, < 4 5 6 > ); # Array with fixed dimensions say .shape; # OUTPUT: «(2 3)» my = ( < 1 2 3 >, < 4 5 6 > ); # Normal array (of arrays) say .shape; # OUTPUT: «(*)»