I have a function that expects a Matrix argument, but for the case I'm working on, the natural way to construct the argument gives a vector. So, suppose I have a vector, e.g., a=rand(10). What is the best way to convert this to a 10X1 array? I can do it using a loop, but I thought there might be a built-in convertor, which I fail to find. Thx
- [julia-users] convert Array{Float,1} to Array{Float,2)? michael . creel