Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. julia> A = 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]]])
  2. 5×2 Array{Array{Float64,1},2}:
  3. [-3.0, 4.0] [-3.0, 4.0]
  4. [8.0] [8.0]
  5. [7.0, 8.0] [7.0, 8.0]
  6. [0.0, 9.0] [0.0, 9.0]
  7. [-1.0] [-1.0]
  8.  
  9. julia> A = Matrix{Vector{Float64}}([[[-3.0,4.0],[8.0],[7.0, 8.0],[0.0,9.0],[-1.0]]])
  10.  
  11. julia> A = hcat(Matrix{Vector{Float64}}(undef, 5, 0), [[-3.0,4.0],[8.0],[7.0, 8.0],[0.0,9.0],[-1.0]])
  12. 5×1 Array{Array{Float64,1},2}:
  13. [-3.0, 4.0]
  14. [8.0]
  15. [7.0, 8.0]
  16. [0.0, 9.0]
  17. [-1.0]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement