MathGroup Archive 1993

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

Search the Archive

Vectorising Matrices


So I don't re-invent the wheel...has anyone written a small package for
vectorising matrices? 

I've written the 'vec' function to stack the rows of a matrix into a column
vector, and the 'vech' function to stack the upper triangular part of a
symmetric matrix into a column vector.  I'm just working out how to reverse
these operations and thought I'd check if someone had already done
something along these lines.

Thanks

Rob

-------------------------------------------------------------------------------

Rob Trevor  Associate Professor, Australian Graduate School of Management
            University of New South Wales
            PO Box 1, Kensington, NSW, AUSTRALIA    2033

Internet:  robt at agsm.unsw.edu.au  or  R.Trevor at unsw.edu.au

VOICE: +61 (2) 931-9274    FAX: +61 (2) 662-7621  or   +61 (2) 662-2451

-------------------------------------------------------------------------------





  • Prev by Date: Upgrade problems?
  • Next by Date: Re: symbol v/: - how many values?
  • Previous by thread: Upgrade problems?
  • Next by thread: Exponents in notebook names