On Sun, Apr 14, 2013 at 8:38 AM, mr w <wzr...@gmail.com> wrote: > On Sun, Apr 14, 2013 at 8:03 AM, Samuel Tardieu <s...@rfc1149.net> wrote: >> >> >> >> 2013/4/14 mr w <wzr...@gmail.com> >>> >>> >>> Could also imagine a "slices-n" word, that attempts to chop a sequence >>> into slices of length n. >> >> >> How would that be different from <sliced-groups>? >> >>> Is there an "n-slices" word, that attempts to chop a sequence into n >>> slices? >> >> >> If you start with a sequence of length 6, how do you split it into 4 slices? >> 1 1 1 3? 2 2 2 0? 3 2 1 0?
Actually, I have sequences of length n^2 that I want changed into 2-d arrays. ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk