On Sun, May 25, 2014 at 12:58 PM, J. Patrick Harrington
<[email protected]>wrote:

> to read this into a J session, assigning the column
> values to each of the respective names. Turns out it
> can be done with one line of the form
>    (head)=: data_array
> where
>    head
> ┌────┬────┬──────┬────┬────┬──────────┬────────┬────────────
> ─────────────┬───────────────────┬─
> │zone│logT│logRho│logP│logR│luminosity│eps_grav│log_abs_
> eps_grav_dm_div_L│signed_log_eps_grav│..
> └────┴────┴──────┴────┴────┴──────────┴────────┴────────────
> ─────────────┴───────────────────┴─
> (see http://www.astro.umd.edu/~jph/mesa_read.ijs) Another example of the
> "black hole of J".
>
> I don't know where in the documentation this can be
> found - I just got there by experimentation.
>

As it happens, there's some documentation of this feature at
http://www.jsoftware.com/help/dictionary/d001.htm

P.S. This started as a post asking for
>      help in getting rid of a loop, but
>      I found the solution along the way.
>

I think this is one of the important reasons we need technical communities.
Sure, the help that's available can be nice. But just knowing that you have
someone to pose questions to can help you form those questions. And,
forming those questions can help you think about the issue.

Experimentation alone is perhaps too diffuse of an effort to get anywhere,
but when combined with a community and its focus, we might find we have
solutions for all sorts of things even though we did not realize that. (Of
course, there's more to it than that, but this is something I've been
thinking about.)

Thanks,

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

Reply via email to