Sorry... another early send! You’ve already had some helpful, constructive, replies. All I’ve got to add is to wonder why you’re working with boxed data if your data are as regular as your example suggests.
If you really do have m rows of n boxed numeric values, why not just open it up with > ? You can do a lot of processing on the whole array. Box it all up again at the end if really necessary with <“0 (boxed scalars) or <“1 (boxed rows) But perhaps I’ve misunderstood your requirements, Cheers, Mike Sent from my iPad > On 15 May 2021, at 10:08, Mike Day <[email protected]> wrote: > > > > Sent from my iPad > >> On 15 May 2021, at 04:13, HH PackRat <[email protected]> wrote: >> >> Hello again! >> >> I'm thinking, for example, of a table of boxed data in its transposed >> horizontal position that has, say, 3 rows of, say, 1000 *boxed* values >> each. My goal is to amend *all* of the boxed values to their square >> roots in one version of what I want to do and *all* of the original >> boxed values to their logarithmic equivalents (maybe multiplied by a >> constant, say, 100) in a second version . >> >> Using what I know from past answers to my questions, I'm sure I could >> use "for" loops with repeated amends to accomplish this, but that >> seems to be working against J's efficiency in dealing with large >> quantities of data at once. >> >> How can I do such a mass "amend" of entire tables in one fell swoop in >> J? Please show EXPLICIT code rather than tacit code. >> >> Thanks for any and all help! >> >> Harvey >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
