Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Matrix Calculations


From   <christopher@fergusson030481.freeserve.co.uk>
To   statalist@hsphsun2.harvard.edu
Subject   st: Matrix Calculations
Date   Wed, 31 Jul 2002 11:19:48 +0000

I have two 2*1 matrices set up. I want to multiply these together to get a 2*1 matrix. Impossible, yes.  However i do not want to treat the matrices as real matrices, infact i only want to multiply the 1st row in matrix 1 with the 1st row in matrix 2, and the 2nd row in matrix 1 with the 2nd row in matrix 2.  Is this possible?  From my days as a c++ programmer I recall a function that would do this, and I was hoping somebody could point me to a similar function in stata.
Thankyou for your time,
Christopher D Fergusson

_______________________________________________________________________
Freeserve AnyTime, only 13.99 per month with one month's FREE trial!
For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index