Convert 1D Array to 1D Array of StaticArrays?

You can try using reinterpret if you want to avoid allocations:

reinterpret(SVector{3, eltype(b)}, b)
6 Likes