What is a verb fill? I guess a verb fill is a fill of a noun appropriate to
the verb being executed?

Re: http://www.jsoftware.com/help/jforc/more_verbs_for_boxes.htm
 It appears that the *noun* 1 2 was filled...

   ; 1 2 ; i. 2 3

1 2 0
0 1 2
3 4 5


Here the second box contains a rank-2 array, while the first box contains a
rank-1 array.  The items of highest rank have rank 1, which means that
rank-1 items are going to be lined up as the items of a rank-2 result.  Any
contents of lower rank are brought up to the rank of the highest-rank
contents, by adding single-length leading axes; after that operation, the
items of all the modified contents have the same rank (but not necessarily
the same shape).  If the shapes of any of those items differ, verb fills are
added to bring each axis up to the length of the longest axis; then the
items are assembled into a list whose rank is 1 higher than the rank of an
item.  In this example the concatenated items have rank 1, and verb fill was
added to bring the single item of the first box up to a length of 3.


-- 
View this message in context: 
http://www.nabble.com/J-for-C-Programmers---verb-fill-or-noun-fill--tf4782696s24193.html#a13682473
Sent from the J General mailing list archive at Nabble.com.

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to