[Solved-1 Solution] Matrix multiplication apache pig ?
What is matrix multiplication
- In mathematics matrix multiplication or the matrix product is a binary operation that produces a matrix from two matrices. The definition is motivated by linear equations and linear transformations on vectors, which have numerous applications in applied mathematics, Physics etc..
Problem :
Here is an example to perform matrix multiplication in pig latin.
- This coding is not working
with
Solution 1:
The below code is helps for matrix multiplication in pig
Multiplied matrices should return the product of matrix1*matrix2 in the same format that the 2 matrices were entered, (row, col, value).