📄 matrix_rownames.hlp
字号:
{smcl}
{* 09feb2005}{...}
{cmd:help matrix rownames}, {cmd:help matrix colnames},
{cmd:help matrix roweq}, {cmd:help matrix coleq}
{hline}
{title:Title}
{p2colset 5 28 30 2}{...}
{p2col :{hi:[P] matrix rownames} {hline 2}}Name rows and columns{p_end}
{p2colreset}{...}
{title:Syntax}
{p 8 15 2}{cmdab:mat:rix} {cmdab:rown:ames} {it:A} {cmd:=} {it:names}{p_end}
{p 8 15 2}{cmdab:mat:rix} {cmdab:coln:ames} {it:A} {cmd:=} {it:names}
{p 8 15 2}{cmdab:mat:rix} {cmdab:rowe:q} {space 2} {it:A} {cmd:=} {it:names}{p_end}
{p 8 15 2}{cmdab:mat:rix} {cmdab:cole:q} {space 2} {it:A} {cmd:=} {it:names}
{pstd}
where {it:name} can be
{phang2}(1) a simple name{p_end}
{phang2}(2) a colon followed by a simple name{p_end}
{phang2}(3) an equation name followed by a colon{p_end}
{phang2}(4) an equation name, a colon, and a simple name
{pstd}
and a simple name may be augmented with time-series operators.
{title:Description}
{pstd}
{cmd:matrix rownames} and {cmd:colnames} reset the row and column names of
an already existing matrix. Row and column names may have three parts:
{phang2}{it:equation_name}{cmd::}{it:ts_operator}{cmd:.}{it:subname}
{pstd}
{cmd:matrix roweq} and {cmd:coleq} also reset the row and column names of
an already existing matrix but, if a simple name is specified (a name without
a colon), it is interpreted as an equation name.
{pstd}
The current row and column names of a matrix are obtained using extended macro
functions; see {help matmacfunc}.
{title:Examples}
{phang}{cmd:. matrix rownames A = price weight mpg}{p_end}
{phang}{cmd:. matrix rownames X = L3.price L2.price L1.price F.weight mpg}{p_end}
{phang}{cmd:. matrix coleq X = eq1 eq1 eq1 aux}{p_end}
{phang}{cmd:. matrix colnames Y = eq1:L.x eq1:x eq2:sigma}
{title:Also see}
{psee}
Manual: {bf:[P] matrix rownames}
{psee}
Online: {helpb matrix}; {help matmacfunc}
{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -