I mean, is there a function that allows me to take in a and return a matrix?

b = convert_to_matrix(a)

b[:, 2] = [2,4]

On Monday, May 26, 2014 1:36:47 AM UTC+8, Freddy Chua wrote:
>
> For example
>
> a = Array(Array, 0)
>
> push!(a, [1, 2])
> push!(a, [3, 4])
>
> Gives me an array of array. Can I get a matrix easily in this way?
>
>
>

Reply via email to