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.
In reply to Re^2: How to shift the columns of a PDL matrix
by Anonymous Monk
in thread How to shift the columns of a PDL matrix
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |