⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 matrix_substitution.hlp

📁 是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到
💻 HLP
字号:
{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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -