Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re^3: Dot product of three matrices

by Jaap (Curate)
on Aug 02, 2005 at 08:00 UTC ( #480108=note: print w/ replies, xml ) Need Help??

in reply to Re^2: Dot product of three matrices
in thread Dot product of three matrices

Is he?

$sum += $$x[$i] * $$y[$i] * $$z[$i];
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 :-)

Comment on Re^3: Dot product of three matrices
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://480108]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2014-11-27 19:31 GMT
Find Nodes?
    Voting Booth?

    My preferred Perl binaries come from:

    Results (187 votes), past polls