How to zero specific column of 2d array : <p>Lets say I have a specific 2d array of 100x100 like so</p>

<p>I'm implementing an adjacency matrix and thus I want to be able to zero a specific column and line (the same column and line in this case), zeroing lines is pretty straightforward but I'm not really able to understand how I would go about for columns.</p>

<p>For example to zero the 2nd element of the adjacency matrix:</p>

<p><a href="https://i.stack.imgur.com/XV2D5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XV2D5.png" alt="enter image description here"></a></p>
