MathGroup Archive 2007

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

Search the Archive

Re: Convert nxn matrix to a column vector with (n^2) elements

  • To: mathgroup at smc.vnet.net
  • Subject: [mg83745] Re: Convert nxn matrix to a column vector with (n^2) elements
  • From: Bill Rowe <readnewsciv at sbcglobal.net>
  • Date: Thu, 29 Nov 2007 06:35:32 -0500 (EST)

On 11/28/07 at 5:46 AM, Tara.Ann.Lorenz at gmail.com wrote:

>Any ideas how to convert an nxn matrix to a column vector with n^2
>elements?

Transpose@{Flatten@matrix}

Thread[{Flatten@matrix}]

List/@Flatten[matrix]

are just a few possible ways to do it.
--
To reply via email subtract one hundred and four


  • Prev by Date: Recursive function
  • Next by Date: Re: Fast way of checking for perfect squares?
  • Previous by thread: Re: Convert nxn matrix to a column vector with (n^2) elements
  • Next by thread: Re: Convert nxn matrix to a column vector with (n^2) elements