One approach would be to place a different
value where it uses maximum.
Is there a small example, as before, that
would showcase a sub-maximal selection?
--- "Glenn M. Lewis" <[EMAIL PROTECTED]> wrote:
> I'm sorry, I wasn't clear... I meant that I wanted to limit Oleg's
> algorithm to maximize the number of columns, but up to a limit of 64.
> If I don't limit the number of columns, the result gives a trivial
> combination of two rows with a huge number of columns, as Leo pointed out.
> -- Glenn
>
> Raul Miller wrote:
> > On 7/3/07, Glenn M. Lewis <[EMAIL PROTECTED]> wrote:
> >> OK, so now I'm trying to limit the result to a maximum of 64 columns.
> >
> > I don't understand why you want this, but here's a
> > verb to limit a list to the first 64 (or less) entries:
> > ({.~ 64 <. #)
> >
> > For example:
> > k=: ({.~ 64 <. #) I.*./ j{table
> >
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
____________________________________________________________________________________
Moody friends. Drama queens. Your life? Nope! - their life, your story. Play
Sims Stories at Yahoo! Games.
http://sims.yahoo.com/
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm