I have a 2D array (with zeros), and I want to update some indexes with 1's. I have a vectors with those indexes (seperatly for X and Y).
I can do a loop for i :Array(x(i),y(i)=1. but I'm looking for something more efficient (Run time is low, but probably I can do without loops)
Doing something like Array( X; Y ) = 1; is not doing what i'm looking for.
Thanks in advance :)