in reply to Re: How to shift the columns of a PDL matrix
in thread How to shift the columns of a PDL matrix
since you don't want to grow your matrix, it is even simpler to use rotate to shift your columns and then insert your new data.
$pdl=$pdl->rotate(1); $pdl(0,).=$new_data # your vector.
|
|---|