The above code implies bad things but he is in fact calculating the dot product of 3 vectors that are 2D. To sum it up: not the clearest code ever :-)$sum += $$x[$i] * $$y[$i] * $$z[$i];
In reply to Re^3: Dot product of three matrices
by Jaap
in thread Dot product of three matrices
by Angharad
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |