Open main menu


Variables in Mata have both an eltype and an orgtype. The eltype can be any of: real, complex, string, pointer, struct, numeric (real or complex), or transmorphic (any of the previous). All numbers in stata are stored as 8-byte doubles. The orgtype can be any of: scalar, vector, rowvector, colvector, or matrix.


All functions in Mata are pass-by-reference.