10 4 ((%~ * [EMAIL PROTECTED])&.> ]) 5 5
+-----------------------------+---------------+
|0 0.5 1 1.5 2 2.5 3 3.5 4 4.5|0 1.25 2.5 3.75|
+-----------------------------+---------------+
10 4 ((<[EMAIL PROTECTED] * [EMAIL PROTECTED])&.> ]) 5 5
+-------------------+-------+
|0 0 0 0 0 0 0 0 0 0|0 1 2 3|
+-------------------+-------+
Why is the first box all zeros?
Shouldn't it be like this?
<.&.> 10 4 ((%~ * [EMAIL PROTECTED])&.> ]) 5 5
+-------------------+-------+
|0 0 1 1 2 2 3 3 4 4|0 1 2 3|
+-------------------+-------+
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm