Ignore my answer. This is more sensible. On 11 Jan 2016 10:16 pm, "Ben Gorte - CITG" <[email protected]> wrote:
> If I correctly understand your question, could it be you want: > > ?~21 > > It gives a random permutation of i.21 (and also works for much larger > values) > > Ben > ________________________________________ > From: Programming [[email protected]] on behalf of > Eddie Bracho [[email protected]] > Sent: Monday, January 11, 2016 11:22 > To: [email protected] > Subject: [Jprogramming] Roll (?) produces domain error on large input > > (? ! 21) > > |domain error > > | ( ?!21) > > > > Is this intended behavior? I'm trying to shuffle an array by providing a > random permutation to Anagram (A.), but this limitation does not allow me > to shuffle arrays with more than 20 elements. > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
