-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: matrix slicing #4257
Comments
Could you try |
@strongoier Thanks for your help! By enabling the dynamics index, the error disappears. But another problem arises. vertlist[i,:] |
Oops, matrix slicing is not supported yet. Could you use a helper function or expression like |
@strongoier Thanks! I am writing in ti.Vector([vertlist[i, 0], vertlist[i, 1], vertlist[i, 2]]) style now. Looking forward for this feature. |
Hi there, my program needs to create an array to store some data, it looks like
If a use a normal list here for vertlist, it will raise:
If I change vertlist to
It will raise
I hope to parallelize this piece of code so the vertlist should not be a global accessible field, so how should I make this code works?
The text was updated successfully, but these errors were encountered: