spatial-lang
spatial-lang copied to clipboard
Cat API
Do we have an API for concatenate? Or is the only way to do it today is
- Make a struct or pack the elements together
- Cast them to the full bitwidth, <<, and ^ the numbers together
?
At the moment the only API we have for this is
val concated = Vector.concatN(Seq(vec1, vec2, ...))
This assumes all the vectors have the same type. We should probably add a more general API