matrix_substitution.hlp
来自「是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到」· HLP 代码 · 共 47 行
HLP
47 行
{smcl}
{* 05apr2005}{...}
{cmd:help matrix substitution}
{hline}
{title:Title}
{pstd}
{hi:[P] matrix define} {hline 2} Submatrix substitution
{title:Syntax}
{p 8 14 2}
{cmdab:mat:rix} {it:A}{cmd:[}{it:r}{cmd:,}{it:c}{cmd:]} {cmd:=} {it:...}
{pstd}
where {it:r} and {it:c} are numeric scalar expressions.
{title:Description}
{pstd}
If the matrix expression to the right of the equal sign evaluates to a
scalar or 1 x 1 matrix, the indicated element of {it:A} is replaced. If the
matrix expression evaluates to a matrix, the resulting matrix is placed in
{it:A} with its upper left corner at ({it:r},{it:c}).
{title:Examples}
{phang}{cmd:. matrix A[2,2] = B}{p_end}
{phang}{cmd:. matrix A[rownumb(A,"price"), colnumb(A,"mpg")] = sqrt(2)}
{title:Also see}
{psee}
Manual: {bf:[U] 14 Matrix expressions},{break}
{bf:[P] matrix define}
{psee}
Online: {helpb matrix};
{help matrix extraction},
{help matrix subscripting}
{p_end}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?