I need to get all the rotations of a rank-1 vector
i.e from 10 11 12  to get  10 11 12, 11 12 10 and 12 10 11

say my vector is size 3, I tried:
  i.3  |. 10 11 12
but it spits out a length error, as, of course, does  0 1 2 |. 10 11 12
Trying to change the rank of rotate doesn't seem to help, not how I'm doing
it, anyhow.

Any suggestions?
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to