[Numpy-discussion] Row-wise dot product?
Wed Sep 9 04:57:36 CDT 2009
the way I do my rotations is this:
tmat = rotation matrix
vec = stack of row vectors
rotated_vecs = np.dot(tmat, vec.T).T
On Mon, Sep 7, 2009 at 6:53 PM, T J<firstname.lastname@example.org> wrote:
> On Mon, Sep 7, 2009 at 3:43 PM, T J<email@example.com> wrote:
>> Or perhaps I am just being dense.
> Yes. I just tried to reinvent standard matrix multiplication.
> NumPy-Discussion mailing list
More information about the NumPy-Discussion