in reply to pairwise comparisons between strings in arrays

Did you see the answers you recieved the first time Comparing two arrays and counting pairwise comparisons you asked this question?


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
"Memory, processor, disk in that order on the hardware side. Algorithm, algorithm, algorithm on the code side." - tachyon
  • Comment on Re: pairwise comparisons between strings in arrays

Replies are listed 'Best First'.
Re^2: pairwise comparisons between strings in arrays
by replicant4 (Novice) on Oct 19, 2004 at 21:47 UTC
    Yes I did now but not before I posted it for the second time. Just to make some things clearer. I want to compare the first $site from the first @site, with all the $sites from the second @site and then move to the second $site from the first @site with all the $sites from the second @array, until I run over the whole first @array. Another thing is that I want to cobine the corresponding letters that means if $site1= 'ABCD' and $site2 = 'EFGH', then I only want the combinations 1-1, 2-2, 3-3, 4-4, that is AE, BF, CG, DH. And finally one other thing. I want to reset the counters to 0 everytime that I move from the first $site of @array1 to the second $site of @array1. I hope that this makes sence. Once again thanks for all the answers and the help .
    A reply falls below the community's threshold of quality. You may see it by logging in.