in reply to Averaging Elements in Array of Array
Where '$column,:' specifies that you want the whole y range (:) of column $column to be dumped into $a. You can, for example iterate over all columns that you want. other more advanced uses are for sure possible, like taking all averages at the same time, but these are beyond my current knowledge.use PDL; $piddle = pdl @your_array; $a = slice $piddle, '$column,:'; print stats $a;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Averaging Elements in Array of Array
by bruno (Friar) on Dec 26, 2008 at 14:41 UTC | |
by hda (Chaplain) on Dec 26, 2008 at 14:53 UTC | |
by xhunter (Sexton) on Dec 27, 2008 at 21:12 UTC | |
by hda (Chaplain) on Dec 28, 2008 at 11:25 UTC |