Do you know where your variables are? | |
PerlMonks |
Re^3: Obtaining terms in an expansionby InfiniteSilence (Curate) |
on Jan 05, 2006 at 22:54 UTC ( [id://521382]=note: print w/replies, xml ) | Need Help?? |
I don't see an operator between arr[0][0] and arr[1][0], so I presume the parenthesis mean you want to multiply.
Your description does not adequately explain what you want, particularly the (a[N-1][0] + a[N-1][1]). Indices from your example: Don't follow. They should be: The wrong element is incrementing -- a[0][N-1] * a[1][0], a[0][N-1] * a[1][1]. Furthermore, this makes no sense. Are a[0][1] and a[1][1] use repeatedly throughout? If so, why not change them into constants? Celebrate Intellectual Diversity
In Section
Seekers of Perl Wisdom
|
|