Re: Lists: Row Vectors vs. Column Vectors. (feels like such a silly
- To: mathgroup at smc.vnet.net
- Subject: [mg110330] Re: Lists: Row Vectors vs. Column Vectors. (feels like such a silly
- From: "Kevin J. McCann" <kjm at KevinMcCann.com>
- Date: Sun, 13 Jun 2010 04:12:35 -0400 (EDT)
- References: <huinf1$o40$1@smc.vnet.net>
Try this: $Post := (If[MatrixQ[#] || VectorQ[#], MatrixForm[#], #] &) This only affects the way the output looks when displayed. Kevin telefunkenvf14 wrote: > Group: > > I'm trying to understand the *reasoning* behind Mathematica's treatment of > lists, rows and columns. Basically, I feel like I'm in a weird place--- > I get what's going on well enough to translate various econometric > examples, but I wouldn't be able to clearly explain Mathematica's behavior to > someone previously exposed to matrix programming in Gauss, SAS IML, > etc. > > Can someone explain why a list does not display in MatrixForm as a > row?---It's ok if the answer is computer sciency. I'll take some advil > before I attempt to digest any answers. :) > > -RG >