I am puzzled about the dimension of the vector.
for example:
a=linspace(0,9,10)

10-element Array{Float64,1}:
 0.0
 1.0
 2.0
 3.0
 4.0
 5.0
 6.0
 7.0
 8.0
 9.0

*ndims of a is 1*


b=transpose(a)

1x10 Array{Float64,2}:
 0.0  1.0  2.0  3.0  4.0  5.0  6.0  7.0  8.0  9.0

*ndims of b is 2*


c=transpose(b)

10x1 Array{Float64,2}:
 0.0
 1.0
 2.0
 3.0
 4.0
 5.0
 6.0
 7.0
 8.0
 9.0

*ndims of c is 2*


c==a

false


why not they have the same dimension?


Reply via email to