in reply to Re: Manipulating columns of PDL data using slice() method
in thread Manipulating columns of PDL data using slice() method

Thanks for the info. I ended up using maximum(transpose($dataA)) as my solution. Similar to the xchg method probably.
  • Comment on Re^2: Manipulating columns of PDL data using slice() method

Replies are listed 'Best First'.
Re^3: Manipulating columns of PDL data using slice() method
by etj (Priest) on Jun 19, 2022 at 20:12 UTC
    $pdl->transpose is indeed a human-friendly synonym for $pdl->xchg(0,1).