you're confusing size in one dimension with the number of dimensions? julia> size([1 2 3; 3 4 5]) (2,3)
On Monday, 10 March 2014 19:45:58 UTC-3, Renoir wrote: > > What sintax have i to use to get an-dim array? > > This code > > a = [1 2 3; 4 5 6] > b = [1 2 3; 3 4 5; 6 7 8] > println(ndims(a)) > println(ndims(b)) > > outputs > 2 > 2 > > i would have expected > > 2 > 3 > > Obviously i misunderstand something.... > > Regards. >
