Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^3: Calculate jackknife error from of each column of a multi-column fileby Marshall (Canon) |
on Dec 16, 2020 at 04:14 UTC ( [id://11125273]=note: print w/replies, xml ) | Need Help?? |
Yes, I see now that $x[$n[$j]//=0][$j] = $column[$j]; is the answer. Thanks! The nested brackets confused my brain. I highly suspect that there is a more simple formulation of this part of the algorithm. For example, transforming a square matrix is not that hard and then you go row by row to get the column sums.
In Section
Seekers of Perl Wisdom
|
|