I can read it into my development version of J using ordinary means; it does not crash; it does not contain _. ; and:
badarray -: 3 335$_1j_0.96875 (667 1003)}(3*335)$_1j_1 1 Is the last result what you would expect? ----- Original Message ----- From: Devon McCormick <[email protected]> Date: Wednesday, December 2, 2009 10:08 Subject: [Jprogramming] I have a bad array - what do I do with it? To: J-programming forum <[email protected]> > Hi - I've managed to build an array that's crashing my > code. I suspected it > contained NaNs but my attempt to check it crashes J: > > $(128!:5) _1}."1 badarray NB. OK if > exclude last column, > 3 334 > _1{"1 > badarray NB. Nothing to see here? > _1j_1 _1j_1 _1j_1 > $(128!:5) > badarray NB. But this kicks me out of J after giving > the result. > 3 335 > > I've put the array on the J wiki at > http://www.jsoftware.com/jwiki/DevonMcCormick/BadArray . > > There's instructions on how to create it from the data file > attached to the > page. Even though I show how to create the array from this > file, I didn't > create it that way originally - there's no attempt to feed funny > data to > (3!:2) - but it's too complicated to show how to create it from > scratch. > I'd be interested in anything people can figure out about it. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
