how to show all elements of vectors and matrices in Julia
问题 When I have many elements in an array, Julia REPL only shows some part of it. For example: julia> x = rand(100,2); julia> x 100×2 Array{Float64,2}: 0.277023 0.0826133 0.186201 0.76946 0.534247 0.777725 0.942698 0.0239694 0.498693 0.0285596 ⋮ 0.383858 0.959607 0.987775 0.20382 0.319679 0.69348 0.491127 0.976363 Is there any way to show all elements in the vertical form as above? print(x) or showall(x) put it in an ugly form without line changes. 回答1: NOTE: in 0.7, Base.STDOUT has been renamed