Jump to content
Hojun Yoon

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×