Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Distinguishing subclasses in Mata


From   Hua Peng <hpeng@stata.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Distinguishing subclasses in Mata
Date   Wed, 02 Sep 2009 13:42:40 -0500

Joseph Coveney asked:

>What's the recommended way for a function to distinguish subclasses in Mata?
>Mata doesn't yet appear to have a specialization of the -eltype()- function
>that would return class type, or subclass and (parent) class type.

We are planning to add several functions to Mata to determine the
type of a class object and its relationship to other class types.

They should be available in a future executable update.

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



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index