And then make
vec(n::Int, dim::Int) = vec(Base.OneTo(n), dim)
I like this very much. Maybe I will experiment with this as a mini-package, also solving the n x 1 array creation problem.
And then make
vec(n::Int, dim::Int) = vec(Base.OneTo(n), dim)
I like this very much. Maybe I will experiment with this as a mini-package, also solving the n x 1 array creation problem.