Hello Dan;

Thanks for your help. Comments inline:

Dan Bron wrote:
Randy,

Another is to use  8&$.  whenever you suspect you've introduced 0s:
8&$. -- Compact Sparse, got it. That appears to be just what I needed. It almost, but not quite, justifies reading every byte of the help, something I gave up doing in '95.

Please keep in mind that there is no reason to use sparse arrays if you can 
manifest the dense array in memory.  Sparse arrays are less used, and therefore 
get less attention, and therefore have more bugs in the implementation.  If you 
use them, keep that usage as simple and obvious as possible.  And, of course, 
report bugs.
The rationale for sparse arrays I know. Since a 200000 200000 table blows memory away (maybe not on my next machine....) sparse arrays seemed to be the way to go. I thought this problem, not bug, was the same as:

   datatype 1.2 - 0.2
float

but I couldn't see how.

--
------------------------------------------------------------------------
|\/| Randy A MacDonald   | APL: If you can say it, it's done.. (ram)
|/\| [EMAIL PROTECTED]  |
|\ |                     | 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.65.44/
-----------------------------------------------------(INTP)----{ gnat }-

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

Reply via email to