On Tue, Sep 16, 2008 at 3:52 PM, John Randall
<[EMAIL PROTECTED]> wrote:
> Raul Miller wrote:
>>
>> I was expecting the result that I get from
>> 0~:1&o. D. 1 D. 1(_78 0.9 1p1 1j1)
>>
>
> VD=: 1 : 'u"1 D.1'
> 0~:1&o.VD VD (_78 0.9 1p1 1j1)
> 1 0 0 0
> 0 0 0 0
...
Exactly.
(<"2) 0~:1&o. D. 2 (_78 0.9 1p1 1j1)
+-------+-------+-------+-------+
|1 0 0 0|1 0 0 0|1 0 0 0|1 0 0 0|
|0 1 0 0|0 1 0 0|0 1 0 0|0 1 0 0|
|0 0 1 0|0 0 1 0|0 0 1 0|0 0 1 0|
|0 0 0 1|0 0 0 1|0 0 0 1|0 0 0 1|
+-------+-------+-------+-------+
(<"2) 0~:1&o. D.1 D.1 (_78 0.9 1p1 1j1)
+-------+-------+-------+-------+
|1 0 0 0|0 0 0 0|0 0 0 0|0 0 0 0|
|0 0 0 0|0 1 0 0|0 0 0 0|0 0 0 0|
|0 0 0 0|0 0 0 0|0 0 1 0|0 0 0 0|
|0 0 0 0|0 0 0 0|0 0 0 0|0 0 0 1|
+-------+-------+-------+-------+
I am having a problem understanding why
(1&o.D.1 D.1 -: 1&o.D.2) (_78 0.9 1p1 1j1)
0
9!:14''
j602/2008-03-03/16:45
--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm