is it possible to change some rows of matrices together? for example, I have a matrix 'a' like this :
a=np.array( [[1,2],[3,4],[5,6],[7,8]] )
and another matrix 'b' like this:
b=np.array( [[9,10],[11,12],[13,14],[15,16]] )
now I want to change them from the third row. so 'a' and 'b' will be like this:
np.array( [[1,2],[3,4],[13,14],[15,16]] )
np.array( [[9,10],[11,12],[5,6],[7,8]] )
could you help me to do this? thanks.