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]

Re: st: does _transposeonly() make a copy of views in Mata?


From   László Sándor <[email protected]>
To   [email protected]
Subject   Re: st: does _transposeonly() make a copy of views in Mata?
Date   Tue, 10 Sep 2013 21:41:25 -0400

Well, this was easy: "_transposeonly(A) aborts with error if A is a
view." is explicit in the documentation, sorry.

But is -transposeonly(A)- truly equivalent to the operator, as it is
also said? Is the copy made, then?

Thanks.

On Tue, Sep 10, 2013 at 9:28 PM, László Sándor <[email protected]> wrote:
> Related to my previous question, but much more specifically: If I code
> quadcross(_transposeonly(X),beta),
> Is a copy of X made if it is a view?
>
> What is a memory efficient way to calculate predicted values (or
> residuals), then?
>
> Thanks,
>
> Laszlo
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/

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


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