I have a rotation matrix, and am using .dot
to apply it to new values.
How can I apply it to each row in a numpy array?
Numpy array looks like:
[-0.239746 -0.290771 -0.867432]
[-0.259033 -0.320312 -0.911133]
[-0.188721 -0.356445 -0.889648]
[-0.186279 -0.359619 -0.895996]
Want to do something like, for each line in array, rotation_matrix.dot(line)
and add each line to new array
Not too familiar with Numpy so I'm sure it's something pretty simple that I just can't grasp.