, (":!.20 array) ,. LF
Henry Rich
On 2/20/2016 6:39 PM, Louis de Forcrand wrote:
From what I read in the dictionary, all formatting primitives format tables
and higher rank arrays into a frame of 1-cells. Is there a way to format a
table using LFs between rows, so as to be easy to write to a file?
I tried formatting a (huge) rank-2 array of coordinates for gnuplot using
farray=: ":!.20 array
text=: (, LF&,)/ farray
and it's been running for a while now.
The funny thing is that the actual initial formatting took under five seconds;
I'm pretty sure there's a better way to do this.
Louis
PS: excuse the poor formatting in this email :/
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm