It's best to use printf for this sort of thing. For example:
for {i in 1..m, j in 1..n} printf ' %g', A[i,j];
printf '\n';
> -----Original Message-----
> From:
ampl@... [mailto:
ampl@...]
> On Behalf Of Thomas Granz [
amplbox@...]
> Sent: Friday, October 09, 2009 8:55 AM
> To:
ampl@...
> Subject: [AMPL 2875] display options
>
>
> Hello all,
>
> is it possible to display or to write out large matrix(> 40 column) in one
> line?
>
> Best Regards,
> L. J.
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "AMPL Modeling Language" group.
To post to this group, send email to
ampl@...
To unsubscribe from this group, send email to
ampl+unsubscribe@...
For more options, visit this group at
http://groups.google.com/group/ampl?hl=en-~----------~----~----~----~------~----~------~--~---