Statalist The Stata Listserver


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

st: creating three-dimensional matrices


From   "Zurab Sajaia" <[email protected]>
To   [email protected]
Subject   st: creating three-dimensional matrices
Date   Wed, 21 Jun 2006 13:48:56 -0400

Hi everyone,

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?

Thanks in advance,
Zurab


*
* 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