An empty array is one with no elements; an empty vector, then, is a vector with no elements, in other words a noun with shape ,0 .
The fill atom in ,. seems to apply to the operation of joining the corresponding items. I can make it come into play only when the items have rank >= 2: (i. 2 2 3) ,.!.99 i. 2 2 0 1 2 3 4 5 0 1 99 6 7 8 9 10 11 2 3 99 It seems that the bit about f's being empty is an error: (i. 2 2 3) ,.!.($0) i. 2 2 |rank error | (i.2 2 3) ,.!.($0)i.2 2 Henry Rich > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of June Kim > Sent: Thursday, June 28, 2007 10:23 AM > To: Programming forum > Subject: [Jprogramming] Fit for Stitch > > http://www.jsoftware.com/help/dictionary/d321.htm > > "The fit conjunction (,.!.f) provides fill specified by the atom f , > or the normal fill defined under Take ({.) if f is an empty vector." > > Any working examples for ,.!.f when f is an atom and when f is an > empty vector? (what is an empty vector really?) > ---------------------------------------------------------------------- > For information about J forums see > http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
