I have a code needs to do some matrix multiplication like
ML2=ML+uMc+c1+c2
MC2=v*ML+(u*v+1)*Mc+c2
Where ML is MXM matrix of
ML=[1 1 1 1....1;2 2 2 2...2......;M M M.....M]
MC=[1 2 3 4 ...M;1 2 3 4...M......;1 2 3.....M]
u,v,c1 and c2 are constant of 8 bit.
I want to find the values of ML2,MC2 in fast execution time using any fast library