Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- julia> Matrix{Vector{Float64}}([[[-3.0,4.0],[8.0],[7.0, 8.0],[0.0,9.0],[-1.0]] [[-3.0,4.0],[8.0],[7.0, 8.0],[0.0,9.0],[-1.0]]])
- 5×2 Array{Array{Float64,1},2}:
- [-3.0, 4.0] [-3.0, 4.0]
- [8.0] [8.0]
- [7.0, 8.0] [7.0, 8.0]
- [0.0, 9.0] [0.0, 9.0]
- [-1.0] [-1.0]
- julia> Matrix{Vector{Float64}}([[[-3.0,4.0],[8.0],[7.0, 8.0],[0.0,9.0],[-1.0]] [[-3.0,4.0],[8.0],[7.0, 8.0],[0.0,9.0],[-1.0]]])
- julia> A = Matrix{Vector{Float64}}(undef, 5, 0)
- julia> A = hcat(A, [[-3.0,4.0],[8.0],[7.0, 8.0],[0.0,9.0],[-1.0]])
- 5×1 Array{Array{Float64,1},2}:
- [-3.0, 4.0]
- [8.0]
- [7.0, 8.0]
- [0.0, 9.0]
- [-1.0]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement