in reply to Optimization Help
Your first problem is that your posted code doesn't compile. You have unbalanced parens and mismatched curlies:
if (grep { $$self{Matrix}[$row_index][$_] != $$other{Matrix}[$$mapping +[$row_index]][$$mapping[$_]]); } (0..$#$mapping)); ( { + ^ } ( ))
What are the dimensions of your matrices and the mapping array?
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Optimization Help
by jmmitc06 (Beadle) on Aug 01, 2013 at 23:30 UTC | |
Re^2: Optimization Help
by jmmitc06 (Beadle) on Aug 01, 2013 at 23:33 UTC | |
by BrowserUk (Patriarch) on Aug 01, 2013 at 23:57 UTC | |
by jmmitc06 (Beadle) on Aug 02, 2013 at 05:07 UTC | |
by BrowserUk (Patriarch) on Aug 02, 2013 at 05:40 UTC | |
by jmmitc06 (Beadle) on Aug 02, 2013 at 05:55 UTC | |
| |
by sundialsvc4 (Abbot) on Aug 02, 2013 at 12:39 UTC |
In Section
Seekers of Perl Wisdom