http://qs321.pair.com?node_id=916795


in reply to how do i read in ANY 2d array

2d array with any dimensions

Excuse me? What do you mean by that?

Replies are listed 'Best First'.
Re^2: how do i read in ANY 2d array
by DanielM0412 (Acolyte) on Jul 26, 2011 at 16:05 UTC
    like a matrix with any dimensions, like 5by5 orr 4by 6 or 2by3
      Учи матчасть ("learn your equipment", jokingly).

      '2d' means 'two dimensions', like matrix N x M, for any N and M; thus, matrix 5by5 and 4by6 both are 2d arrays (square matrices). Adding third dimension makes N x M x L (cubic matrix), fourth - N x M x L x K (4d matrix) and so on.