Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: RE: Mata Display Matrix


From   "Ben Jann" <[email protected]>
To   [email protected]
Subject   Re: st: RE: Mata Display Matrix
Date   Tue, 28 Aug 2007 20:31:51 +0200

I think Marcello means something like -matlist- for Mata matrices. I
don't know of any such implementation. However, an obvious workaround
would be

 . mata
 : X = uniform(5,5)
 : st_matrix("X",X)
 : end
 . matlist X

although this only works with a (non-void) real matrix.
ben

On 8/28/07, Nick Cox <[email protected]> wrote:
> Not quite clear on what the question is here, but
> I would look at -strofreal()-.
>
> Nick
> [email protected]
>
> Marcello Pagano
>
> > I know I can write the do-loop, but has anyone written one already to
> > display a matrix in Mata controlling the output format?
>
> *
> *   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/
>
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index