[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
RE: st: Viewing code for matrix functions
This is expanding the point made earlier
in the thread that some _Mata_ functions
(Stata 9 on) are visible. I think Rachel's
question was to do with Stata's older _matrix_
language. Or, at least, if she meant Mata
she didn't say so.
> Some matrix commands are in built and others you can see the code.
> Type help m4_matrix for a list of matrix functions.
> For example, you can see the code to obtain a matrix determinant
> help mf_det and then and the bottom of the help windown you
> have the source
> code. But some commands such as cholesky (help mf_cholesky)
> are in built and
> they use the LAPACK package - a set of free routines from Fortran.
> You will have to go trough the list of commands displayed
> with help m4_matrix
> and check if there's a source code.
> > On 3/6/07, Rachel <firstname.lastname@example.org> wrote:
> > > I would like to see the code for several of Stata's
> matrix functions
> > > (for example, cholesky()). However, I can't seem to find
> where they
> > > are implemented.
> > >
> > > -which- cholesky tells me it's not implemented as either an ado or
> > > built-in function, so I assume I must be using the wrong name.
* For searches and help try: