Skip to content

Matrix multiplication explanation #1190

Closed Answered by obiot
sudarshanmg asked this question in Q&A
Discussion options

You must be logged in to vote

the matrix values are stored in a Float32Array (val).

The multiply method cache the reference to both arrays (a, and b,) and content of all values for both matrix (a0, a1,.... and b0, b1, ....), and then it's just to a typical multiplication. Final value are are set in the "original" a (this.val) matrix.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sudarshanmg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants