This comes up periodically and it's a bit embarrassing that our official answer right now involves a inefficient splatting. We should have a function – maybe call it stack? – that efficiently does what vcat(vec_of_vecs...) does without the splatting. It should also stack in slices in different dimensions so that you can either stack slices as rows or columns, etc.
This comes up periodically and it's a bit embarrassing that our official answer right now involves a inefficient splatting. We should have a function – maybe call it
stack? – that efficiently does whatvcat(vec_of_vecs...)does without the splatting. It should also stack in slices in different dimensions so that you can either stack slices as rows or columns, etc.