You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently it seems that vectors are limited to only one dimensions. Where I would expect: int[<*>][<*>] foo = {{1,2},{3,4}}; to be possible, as well as int[<2>][<2>] bar = {{1,2},{3,4}}; while also being able to do operations like *, +, -, ^ on these vectors e.g.:
in the initial SIMD vector issue #56,int[<2, 2>] was one of the possible syntaxes, but it seems at some point possibly outside of github it was decided to make them 1d.
What you're requesting is matrices. You can of course do a list of simd vectors, like int[<2>][2] x but then you don't get direct addition. Maybe the matrix types could work for you?
Currently it seems that vectors are limited to only one dimensions. Where I would expect:
int[<*>][<*>] foo = {{1,2},{3,4}};
to be possible, as well asint[<2>][<2>] bar = {{1,2},{3,4}};
while also being able to do operations like*, +, -, ^
on these vectors e.g.:Or is there perhaps a specific matrix type in the works?
The text was updated successfully, but these errors were encountered: