Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

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

st: vectorizing code in Mata

From   Patrick Roland <>
Subject   st: vectorizing code in Mata
Date   Mon, 3 Oct 2011 16:43:08 -0700

I was wondering if people have experience with the kinds of
performance gains that occur from vectorizing code (rather than
looping) in Mata. Here it gives an example of where mata is fast
enough to work at the element level: Are the speed gains from
vectorization less than would be realized in, say, MATLAB?

More generally, what are the things to do or to avoid if one wants to
write fast Mata code?

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index