; bc
----- Original Message ----- From: Tracy Harms <[EMAIL PROTECTED]> Date: Saturday, December 22, 2007 23:29 Subject: [Jprogramming] laminating contents of a box-list To: [email protected] > Having gotten most of the way through coding an > alternate (geometric) construction of the subsequences > array discussed earlier, I'm having enough difficulty > figuring out how to make the final knitting-together > to ask for some advice. > > Given bc, shown below, I am seeking a verb that will > produce desiredOutput (at the end of the following > console example.) > > ]bc NB. boxed components > +-------+-------+-------+-------+-------+ > |0 0 0 0|0 0 0 1|0 0 1 0|0 1 0 0|1 0 0 0| > | > | |0 0 1 1|0 1 1 0|1 1 0 0| > | > | | |0 1 1 1|1 1 1 0| > | > | | | |1 1 1 1| > +-------+-------+-------+-------+-------+ > $ &.> bc > +---+---+---+---+---+ > |1 4|1 4|2 4|3 4|4 4| > +---+---+---+---+---+ > |:,: bc > +-------+ > |0 0 0 0| > +-------+ > |0 0 0 1| > +-------+ > |0 0 1 0| > |0 0 1 1| > +-------+ > |0 1 0 0| > |0 1 1 0| > |0 1 1 1| > +-------+ > |1 0 0 0| > |1 1 0 0| > |1 1 1 0| > |1 1 1 1| > +-------+ > desiredOutput > 0 0 0 0 > 0 0 0 1 > 0 0 1 0 > 0 0 1 1 > 0 1 0 0 > 0 1 1 0 > 0 1 1 1 > 1 0 0 0 > 1 1 0 0 > 1 1 1 0 > 1 1 1 1 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
