![]() |
|
Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^3: eq vs ==by moritz (Cardinal) |
on Nov 11, 2009 at 10:23 UTC ( #806454=note: print w/replies, xml ) | Need Help?? |
Would you care to explain how you would do that, in the general case?
For example in one of my programs I have a few matrices in which I put parameters, solve some equation systems and in the end I calculate a trace over some of these matrices, and as a result I get another matrix. In that final matrix the sum over all rows and all columns should be equal, modulo numeric errors. How would I compare (or even compute) these sums without using or comparing floating point numbers?
Perl 6 - links to (nearly) everything that is Perl 6.
In Section
Seekers of Perl Wisdom
|
|