Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Re: Why is Mata much slower than MATLAB at matrix inversion?


From   "Joseph Coveney" <[email protected]>
To   "'Joseph Coveney'" <[email protected]>, <[email protected]>
Subject   st: Re: Why is Mata much slower than MATLAB at matrix inversion?
Date   Fri, 20 Jul 2012 12:58:10 +0900

I wrote:

Is -cholinv()- the Mata equivalent of MATLAB's inv()?  

Mata's -invsym()- is more than 100 times faster than its -cholinv()- on my
ancient laptop.

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

I see now from MATLAB's online documentation that inv() doesn't require the
matrix to be symmetric, something that I should have inferred from Patrick's
example code snippet.  Apologies for the too-quick reply.

Joseph Coveney


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index