I am pretty sure this is a common type to use, but what is the name of something like
fill(5.0, 100)
where the array itself is just 5 pointers to the same place memory? Something that acts like a vector, but doesn’t allocate like one.
I am pretty sure this is a common type to use, but what is the name of something like
fill(5.0, 100)
where the array itself is just 5 pointers to the same place memory? Something that acts like a vector, but doesn’t allocate like one.
Do you mean something like https://github.com/JuliaArrays/FillArrays.jl?
Thank you!