> I wrote: perhaps the raze of the result of affixing a fill element within
> each box, as in:
>
> <;._1 :. ([: ; ({.~ -@:>:@:#)&.>)
> <;._2 :. ([: ; ({.~ >:@:#)&.>)
Maybe, in line with other uses of !. to specify fill, a new fit could be
defined, such that:
<;._2!.n ^:_1 <==> [: ; ,&n&.>
Similarly for <;._1 . The default n would be a fill element.
I'm not sure what the rules are for fits; the phrase suggested above might
have to be expressed as <;._2^:_1!.n instead (like #^:_1!.n is). If that's
the case, I'm less enthused about the idea, because it loses the original
purpose: to write &.(<;._2) concisely. The phrase &.(<;._2^:_1!.n^:_1) is
no prettier than the options I currently have.
If the fit must be applied to the inverse, I drop the proposal for it (though I
maintain the proposal I quote above, and, more particularly, the primary
proposal for &.(<;.1) in the message from which the quote is taken).
-Dan
PS: I have a larger, more ambitious, proposal, which would elegantly handle
this and many other cases. I want to word it properly before I post it, but it
will show up eventually.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm