Re: [julia-users] row of a matrix

2016-10-17 Thread Yichao Yu
On Mon, Oct 17, 2016 at 9:22 AM, Chang Kwon wrote: > > It seems that the way Julia handles A[1,:] changed in v0.5. > > *julia> **A = [1 2 3; 4 5 6]* > > *2×3 Array{Int64,2}:* > > * 1 2 3* > > * 4 5 6* > > > *julia> **A[1,:]* > > *3-element Array{Int64,1}:* > > * 1* > > * 2* > > * 3* > > > *ju

[julia-users] row of a matrix

2016-10-17 Thread Chang Kwon
It seems that the way Julia handles A[1,:] changed in v0.5. *julia> **A = [1 2 3; 4 5 6]* *2×3 Array{Int64,2}:* * 1 2 3* * 4 5 6* *julia> **A[1,:]* *3-element Array{Int64,1}:* * 1* * 2* * 3* *julia> **size(A[1,:])* *(3,)* A[1,:] used to be a row-vector in v0.4 same as in MATLAB,