I'm looking for a J expression which will rotate each row of a matrix by a
different amount (specified in a vector).

In other words, I'd like

1 0 2 0 rotate >'cat';'dog';'hen';'cow'
to give

atc
dog
nhe
cow
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to