Thanks Ric, that worked. In the end I used rots =: ] |." 0 1 ~ [:i.# which gives me what I want. Not quite sure I understand the |. " 0 1 ] bit, so I am using it cargo-cult stylee. I was previously trying |. " 0 there must be something I haven't grasped. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
- [Jprogramming] All rotations of a rank 1 vector Alex Giannakopoulos
- Re: [Jprogramming] All rotations of a rank 1 vect... Ric Sherlock
- Re: [Jprogramming] All rotations of a rank 1 ... Nollaig MacKenzie
- Re: [Jprogramming] All rotations of a ran... Linda Alvord
- Re: [Jprogramming] All rotations of a rank 1 vect... Henry Rich
- Re: [Jprogramming] All rotations of a rank 1 vect... Alex Giannakopoulos
- Re: [Jprogramming] All rotations of a rank 1 vect... Alex Giannakopoulos
- Re: [Jprogramming] All rotations of a rank 1 vect... Alex Giannakopoulos
