Skip to content
Discussion options

You must be logged in to vote

Just submitted a pull request that includes the flexible function interface like Numpy's matmul uses. I did also include multiplying vectors and returning a scalar in it as well.

At this point, I'm thinking multiplyMatrices will end up being a slow generic matrix multiplication operator. Probably mostly used in a prototype/rapid iteration way.

I suspect the speed-up @lloydk got from using specialized Vector3 and Matrix3x3 multiplication means the standard use will be specialized functions. And the existing dot3 for Vector3 dot products, and multiply_v3_m3x3 already supersedes almost all uses of multiplyMatrices.

Once a specialized multiply_m3x3_v3 and multiply_m3x3 are implemented, there …

Replies: 5 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@epsilonError
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@epsilonError
Comment options

Answer selected by svgeesus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants