-
Notifications
You must be signed in to change notification settings - Fork 14
mm_mult
Chung Leong edited this page Jan 10, 2022
·
3 revisions
mm_mult - Matrix-Matrix multiplication
float[][] mm_mult( float[][] $m1, float[][] $m2 )
mm_mult() multiplies the matrix m1 by the matrix m2.
m1 - The first matrix. It can be a single two-dimensional array or an array of two-dimensional arrays.
m2 - The second matrix. It can be a single one-dimensional array or an array of two-dimensional arrays. The number of rows should match the number of columns in m1.
Matrix product of m1 and m2. If either m1 or m2 contains multiple matrices, the return value will be an array of matrices.
1.0 and above.