Can anyone tell me how to multiply corresponding elements of two matrices in ojAlgo?
Looking for block function for c[i][j] = a[i][j] * b[i][j]
Asked
Active
Viewed 731 times
1
-
Also can anyone with enough points create this tag "ojAlgo" for this high performance math library ? – Sree Jan 15 '17 at 19:09
1 Answers
1
There are several ways to do that. Here's one alternative:
matrixA.operateOnMatching(MULTIPLY, matrixB).supplyTo(matrixC);
Where MULTIPLY comes from a static import (org.ojalgo.function.constant.PrimitiveMath).

apete
- 1,250
- 1
- 10
- 16