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