Hello and please forgive the beginners question. I am using Solve on a system of equations where results are presented in a format like the following (data is arbitrary in this example, however all numerical results are always a single digit integer):
{ {x -> 1, y -> 5, z -> 7}, {x -> 9, y -> 3, z -> 2}, {x -> 6, y -> 4, z -> 9} }
How can I refer to that output via % and have it reformatted as follows so that I may copy and paste it into a report?
[1,5,7] [9,3,2] [6,4,9]
This is not to be used in subsequent Mathematica calculations, but only used in an external report. As a start, I'm experimenting with StringRiffle and it is removing the braces and commas, but it is retaining the arrows, so I am missing something there.
Also, in a more complex reformatting of the output, how can I add additional text providing a reference number for each particular solution set such as:
1:[1,5,7] 2:[9,3,2] 3:[6,4,9]
Would it be helpful as an intermediate step in reformatting the output to assign the individual variables to members of an array? - so that a[1]=x, a[2]=y, and a[3]=z for example, or is that unnecessary? If that were done, then a loop index could generate the reference numbers to prepend to each member of the solution set.
Thanks in advance for all assistance!
