[Jprogramming] Spare Matrix from Index Matrix
ramacd
ramacd at nbnet.nb.ca
Sun Feb 4 01:05:23 HKT 2007
True, if an assumption is missing about the non-zero element. I suggest 1.
------------------------------------------------------------------------
|\/| Randy A MacDonald | APL: If you can say it, it's done.. (ram)
|/\| ramacd at nbnet.nb.ca |
|\ | | The only real problem with APL is that
BSc(Math) UNBF'83 | it is "still ahead of its time."
Sapere Aude | - Morten Kromberg
Natural Born APL'er | Demo website: http://156.34.82.188/
-----------------------------------------------------(INTP)----{ gnat }-
----- Original Message -----
From: "Roger Hui" <rhui000 at shaw.ca>
To: "Programming forum" <programming at jsoftware.com>
Sent: Saturday, February 03, 2007 10:07 AM
Subject: Re: [Jprogramming] Spare Matrix from Index Matrix
> 4$.s is not invertible.
>
>
>
> ----- Original Message -----
> From: ramacd <ramacd at nbnet.nb.ca>
> Date: Saturday, February 3, 2007 6:07 am
> Subject: Re: [Jprogramming] Spare Matrix from Index Matrix
>
> > It seems Roger is a mortal;
> >
> > s=: ?4 4$2
> > (4&$.)^:_1 (4 $. s)
> > |domain error
> > (4&$.)^:_1(4 $.s)
> >
> > ...or is my copy of J too old?
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
More information about the Programming
mailing list