... and the Dictionary in the Notes section of ($.) says: "Sparse literal and boxed arrays not yet implemented. " -M
At 2017-12-23 13:35, you wrote:
Hi all, Why can't I box sparse arrays? I was exploring sparse arrays after it came up on the mailing list and was surprised to get a nonce error when I tried to box a sparse error. Using the example given on the dictionary entry for $. to demonstrate the issue: ] d=: (?. 3 4$2) * ?. 3 4$100 0 56 0 6 85 0 0 96 0 0 33 0 ] s=: $. d 0 1 â 56 0 3 â 6 1 0 â 85 1 3 â 96 2 2 â 33 s ; d |nonce error | s ;d <s |nonce error | <s <d âââââââââââââ â 0 56 0 6â â85 0 0 96â â 0 0 33 0â âââââââââââââ I could not find any mention of this nonce error in the dictionary. Please let me know if I have overlooked something obvious. And I am curious how Roger Stokes managed to box sparse arrays in his LJ book. Thanks, Vijay. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
