a=: (100 [EMAIL PROTECTED] 0) (100 [EMAIL PROTECTED] 1e9)}1$.1e9
   $a
1000000000

   put=: 3!:[EMAIL PROTECTED] (1!:2) ]
   get=: 3!:2 @ (1!:1)

   a put <'\junk\a'
   a1=: get <'\junk\a'
   a -: a1
1



----- Original Message -----
From: kamakura <[EMAIL PROTECTED]>
Date: Friday, April 6, 2007 4:23 pm
Subject: [Jprogramming] saving sparse arrays

> Hi,
> 
> I have just started to learn  J language.  It is interesting but  
> difficult to read tacit form of programming.
> 
> Sparse arrays in J are very convenient for handling large sparse  
> matrices.
> 
> Does anyone know how to save the sparse arrays  and restore them 
> to  
> the sparse arrays?
> 
> 
> 
> 
> +++++++++++++++++++++++++++++
>     Toshinari Kamakura
> 
>     Chuo University
>     1-13-27 Kasuga
>     Bunkyo-ku
>     Tokyo 112-8551, Japan
> ++++++++++++++++++++++++++++++
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to