matrix_operators.hlp

来自「是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到」· HLP 代码 · 共 61 行

HLP
61
字号
{smcl}
{* 31mar2005}{...}
{cmd:help matrix operators}
{hline}

{title:Title}

    Matrix operators


{title:Description}

{pstd}
Matrix operators are outlined here.  See {helpb matrix} for background
information and links to more matrix help.

{pstd}
Let {it:B} and {it:C} represent matrix names or matrix expressions.  Let
{it:z} represent numbers or scalar expressions.

{pstd}
The matrix monadic operators are

	{cmd:-}{it:B}      negate
	{it:B}{cmd:'}      transpose

{pstd}
The matrix dyadic operators are

{p 8 18 2}{it:B} {cmd:\} {it:C} {space 1} add rows of {it:C} below rows of
	{it:B}{p_end}
{p 8 18 2}{it:B} {cmd:,} {it:C} {space 1} add columns of {it:C} to the right of
	{it:B}{p_end}
{p 8 18 2}{it:B} {cmd:+} {it:C} {space 1} add{p_end}
{p 8 18 2}{it:B} {cmd:-} {it:C} {space 1} subtract{p_end}
{p 8 18 2}{it:B} {cmd:*} {it:C} {space 1} multiply (including mult. by
	scalar){p_end}
{p 8 18 2}{it:B} {cmd:/} {it:z} {space 1} division by scalar{p_end}
{p 8 18 2}{it:B} {cmd:#} {it:C} {space 1} Kronecker product

{pstd}
Parentheses may be used to enforce a particular order of evaluation.


{title:Example}

{phang}{cmd:. matrix C = (B + B')/2}


{title:Also see}

{psee}
Manual:  {bf:[U] 14 Matrix expressions},{break}
{bf:[P] matrix define}

{psee}
Online:  {helpb matrix};
{helpb matrix define},
{help matrix functions}
{p_end}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?