04-06-2010, 02:50 PM
Quote:(I'll think of them as columns on a spreadsheet (columns A and B)). the first column (A) has 6 elements (I'll think of them as rows in a speadsheet (rows 1-6)). the second column (B) has 1 row.everything incorrect
I think you confuse dimensions and columns.
Dimensions are like in this example:
1-dim is line.
2-dim is plane (x, y) or table (columns, rows).
3-dim is space (x, y, z).
4-dim is spacetime (x, y, z, t).
So in 2 dim array len(1) is number of columns, and len(2) is number of rows.
