The attached Prime 3.0 worksheet is a simplified version of what I am trying to do. I am working on a fairly lengthy program function that will accept single-column input arrays (vectors) of varying lengths (or even just a single number) and output an array with several elements. Input/output-wise, it is no different than the simple example in the attached worksheet.
When I use the whole data array as the input, the output is an array with vertical subarrays for the three columns. When I use the data array one element at a time (range variable), the output is an array with horizontal subarrays for the rows. This makes sense to me, but it's not quite what I want. What I really want is a single array without subarrays so I can do other things with the output more easily. I don't see that Prime 3.0 has a simple function to "un-subarray" an array.
I need some ideas on the best / most efficient / most elegent method for producing a single array from an array with subarrays.
Thanks.