Jump to content

Matrix multiplication and outer product using HDK


Recommended Posts

Hello, I'd like to perform matrix multiplication between 2 of 3x3 matrices(not coefficient-wise) and outer product between 2 vectors using HDK.

So I'd like to know if the * operator supports matrix multiplication and outer product of vectors as in the example code below.

UT_Matrix3 A = ...
UT_Matrix3 B = ...
UT_Matrix3 C = A * B  // matrix multiplication

UT_Vector3 u = ...
UT_Vector3 v = ...
UT_Matrix3 X = u * v  // outer product

If not, is there a function/operator to do matrix multiplication and outer product?

Thank you.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...