Skip, that seems like a very old version of the stats/base addon? According to GitHub the sampledesign script was renamed to combinatorial back in 2008. perm is currently available in ~addons/stats/base/combinatorial.ijs (stats/base/combinatorial)
On Tue, May 26, 2020 at 8:45 AM Skip Cave <[email protected]> wrote: > Perm is in Addons/stats/base/sampledesign. > > perm > > 3 : 0 > > z=. i.1 0 > > for. i.y do. z=. ,/ (0 ,. 1 + z) {"2 1 \:"1 = i. 1 + {: $z end. > > : > > ,/ ({~ perm@#)"1 x comb y > > ) > > > > Skip Cave > Cave Consulting LLC > > > On Mon, May 25, 2020 at 3:23 PM Brian Schott <[email protected]> > wrote: > > > Skip, > > I am having trouble finding perm. > > I tried using A. in its place, but did not succeed. > > But I think I see where you were going. Good idea. > > > > On Mon, May 25, 2020 at 2:54 PM Skip Cave <[email protected]> > wrote: > > > > > ssmb=:+./@E. > > > > > > l21=.-.1 1 ssmb"1+./"2]1 2=/"1 n=.perm 4 > > > > > > l30=.-.1 1 ssmb"1+./"2]0 3=/"1 n > > > > > > n#~l30*.l21 > > > > > > > > ---------------------------------------------------------------------- > > 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
