Given a dense array mx, we can create a sparse version via $. say smx. Then we can extract the make-up of smx (what the dictionary refers to as sh, a, e, i and x) using dyadic $. Suppose I store these elements in a jfile (to save space, for example). Is there an easy way to use them to reconstitute the sparse array? I know I can do this by writing my own verb, but I would have thought that the language would have provided a way to do this; and I can't find it.

Regards,

------------------------
Philip A. Viton
City Planning, Ohio State University
275 West Woodruff Avenue, Columbus OH 43210
[EMAIL PROTECTED]

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

Reply via email to