davidr, 5 months ago @villares derp, I've been thinking of 3D vectors so I was like...you aren't using all the components. I agree about the shape apparently meaning it's just the normalization. I wonder if the linalg is doing the wrong direction or something. numpy makes this hard for no reason, but I usually take row-wise magnitudes like this: mag = np.sqrt(np.sum(v**2, axis=1))
@villares derp, I've been thinking of 3D vectors so I was like...you aren't using all the components.
I agree about the shape apparently meaning it's just the normalization. I wonder if the linalg is doing the wrong direction or something.
numpy makes this hard for no reason, but I usually take row-wise magnitudes like this:
mag = np.sqrt(np.sum(v**2, axis=1))