Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Displaying results in a column

  • To: mathgroup at smc.vnet.net
  • Subject: [mg104918] Re: [mg104873] Displaying results in a column
  • From: "David Park" <djmpark at comcast.net>
  • Date: Fri, 13 Nov 2009 05:54:50 -0500 (EST)
  • References: <15021407.1258024577516.JavaMail.root@n11>

{expr1, expr2, expr3, expr4} // Column

is easier and better. And if you want to save and use the results you can
use constructions like:

(eqns = {x + y == a, x - y == b, x^2 + z^2 == c^2}) // Column

Solve[eqns, {x, y, z}]


David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/  


From: AES [mailto:siegman at stanford.edu] 

I don't know if the following is legal or not or what dangers may lurk 
within it, and I recognize that other more formal methods exist, but if 
you just want to display a list (meaning the results from evaluating a 
series of expressions in that list) as a series of individual lines, the 
input syntax

{expr1, "\n"expr2, "\n"expr3, "\n"expr4, . . . }

seems to work just fine --  and could hardly be simpler to code.




  • Prev by Date: RE: a[n],b[n]
  • Next by Date: Re: Using For[] for Generating Multiple Output Cells
  • Previous by thread: Re: Displaying results in a column
  • Next by thread: Re: Displaying results in a column