Greetings I have a piddle (in matrix form).  For each row I need a
pairwise comparison to every other row (but not to itself).  I need to use
'where'  on the two piddles.  I am subsequently using 'cov' in
PDL::Stats::Basic to calculate the covariance of the two piddles.

Here is my questions:

How can I avoid an outer and inner for loop in perl to do every
pairwise comparison?  I understand this is probably a basic question, but I
haven't had luck after reading the indexing tutorial...


-- 
Zev Kronenberg
Graduate Student
University of Utah
phone: 208-629-6224
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to