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?
|
|---|
| 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 locked_user sundialsvc4 (Abbot) on Aug 02, 2013 at 12:39 UTC |