Zurab Sajaia <zsajaia@hotmail.com> writes,
> In a program (mata) I need to store n different matrices, so effectively,
> that's kind of three-dimensional matrix.
>
> Currently I do this by creating matrix (rowvector) of pointers -
> prow[1..n-], initially pointing them to some simple matrices I(1) and then
> storing my working matrices by *prow[i]=X
>
> But somehow still have a filling that that's not the best way to do it, I
> was wandering if anybody had a better idea?
I do not have a better idea; what Zurab has outlined is exactly how I would
do it.
-- Bill
wgould@stata.com
*
* 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/