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

MathGroup Archive 2010

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

Search the Archive

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
> 


  • Prev by Date: Re: Automatic update of variables
  • Next by Date: Re: Apply a function to parts of a list
  • Previous by thread: Dynamic window popup question
  • Next by thread: Re: Lists: Row Vectors vs. Column Vectors. (feels like such a silly