📄 matrix_operators.hlp
字号:
{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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -