View Single Post
  #2 (permalink)  
Old 08-14-2007, 11:16 PM
ccoonen ccoonen is offline
PT Staff
Awards Showcase
Quality Tutorial Quality Tutorial Quality Tutorial Quality Tutorial 
Total Awards: 4
Join Date: Jun 2007
Location: Wisconsin
Posts: 317
iTrader: (0)
ccoonen is on a distinguished roadccoonen is on a distinguished roadccoonen is on a distinguished roadccoonen is on a distinguished road
So when you break it down you want to do multiplication elements from already existing elements?

res.get(i) +=
matrix1.get(i).get(j) * matrix2.get(j).get(i);

Not positive in Java but maybe
res[i] += matrix1[i][j] * matrix2[j][i];

Is that the gyst of your equation?

Last edited by ccoonen : 08-14-2007 at 11:19 PM.
Reply With Quote