Hi
I have an index vector  like:
idx_v = [1,2,4,0,3]
A = [1, 1, 1, 1, 1
1, 1, 1, 1, 1
1, 1, 1, 1, 1
1, 1, 1, 1, 1
1, 1, 1, 1, 1]
I want to set all elements of matrix A located before elements of idx_v vector to zero within each row
like:
At =  [0, 1, 1, 1, 1
0, 0, 1, 1, 1
0, 0, 0, 0, 1
1, 1, 1, 1, 1
0, 0, 0, 1, 1]
Is there any way to do it without using For loops?