MathGroup Archive 2010

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

Search the Archive

Re: Lists: Row Vectors vs. Column Vectors. (feels like such a silly


However,

a = Range[5]
a.a gives the dot product, but Transpose[a].a doesn't work. Since I do 
this a lot, I agree with the sense of the original post that some of the 
matrix/vector operations are not very user friendly.

Kevin

David Park wrote:
> What about:
> 
> vector = Range[5]; 
> MatrixForm[vector, TableDirections -> Row] 
> 
> (1	2	3	4	5 )
> 
> 
> David Park
> djmpark at comcast.net
> http://home.comcast.net/~djmpark/  
> 
> 
> From: telefunkenvf14 [mailto:rgorka at gmail.com] 
> 
> 
> 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: Programatically creating delayed assignment
  • Next by Date: Re: Push to clipboard?
  • Previous by thread: Re: Lists: Row Vectors vs. Column Vectors. (feels like such a silly
  • Next by thread: Re: Lists: Row Vectors vs. Column Vectors. (feels like such a silly