zoukankan      html  css  js  c++  java
  • Latex数学公式中的矩阵

    矩阵的括号形式

    使用matrixpmatrixbmatrixBmatrixvmatrix或者Vmatrix环境:

    $$
    egin{gathered}
    egin{matrix} 0 & 1 \ 1 & 0 end{matrix}
    quad
    egin{pmatrix} 0 & -i \ i & 0 end{pmatrix}
    quad
    egin{bmatrix} 0 & -1 \ 1 & 0 end{bmatrix}
    quad
    egin{Bmatrix} 1 & 0 \ 0 & -1 end{Bmatrix}
    quad
    egin{vmatrix} a & b \ c & d end{vmatrix}
    quad
    egin{Vmatrix} i & 0 \ 0 & -i end{Vmatrix}
    end{gathered}
    $$
    

    [egin{gathered} egin{matrix} 0 & 1 \ 1 & 0 end{matrix} quad egin{pmatrix} 0 & -i \ i & 0 end{pmatrix} quad egin{bmatrix} 0 & -1 \ 1 & 0 end{bmatrix} quad egin{Bmatrix} 1 & 0 \ 0 & -1 end{Bmatrix} quad egin{vmatrix} a & b \ c & d end{vmatrix} quad egin{Vmatrix} i & 0 \ 0 & -i end{Vmatrix} end{gathered} ]

    array环境

    使用array环境来输入矩阵:

    $$      %开始数学环境
    left(                 %左括号
      egin{array}{ccc}   %该矩阵一共3列,每一列都居中放置
        a11 & a12 & a13\  %第一行元素
        a21 & a22 & a23\  %第二行元素
      end{array}
    
    ight)                 %右括号
    $$
    

    [ %开始数学环境 left( %左括号 egin{array}{ccc} %该矩阵一共3列,每一列都居中放置 a11 & a12 & a13\ %第一行元素 a21 & a22 & a23\ %第二行元素 end{array} ight) %右括号 ]

    上三角矩阵

    上三角矩阵

    $$
    A=egin{bmatrix}
    a_{11} & dots & a_{1n}\
      & ddots & vdots\
    0 & & a_{nn}
    end{bmatrix}_{n 	imes n}
    $$
    

    [A=egin{bmatrix} a_{11} & dots & a_{1n}\ & ddots & vdots\ 0 & & a_{nn} end{bmatrix}_{n imes n} ]

    分块矩阵

    分块矩阵

    $$
    egin{pmatrix}
    egin{matrix} 1&0\0&1 end{matrix} & 	ext{0}\
    	ext{0} & egin{matrix} 1&0\0&1 end{matrix}
    end{pmatrix}
    $$
    

    [egin{pmatrix} egin{matrix} 1&0\0&1 end{matrix} & ext{0}\ ext{0} & egin{matrix} 1&0\0&1 end{matrix} end{pmatrix} ]

    行内矩阵

    行内矩阵

    $
    left(
    egin{smallmatrix}
    x & frac{x}{y} \
    frac{y}{x} & x
    end{smallmatrix}
    
    ight)
    $
    

    这是一个( left( egin{smallmatrix} x & frac{x}{y} \ frac{y}{x} & x end{smallmatrix} ight) )行内矩阵

  • 相关阅读:
    NPM 使用介绍
    tight
    c# 选择排序
    AssetBundle Manager and Example Scenes
    非常棒的轨迹插件Better Trails v1.4.6
    【模型】Toon Dragon
    unity实现3D物体上的事件监听处理
    Alley Bird 跳跳鸟源码
    Unity性能优化 – 脚本篇
    欧拉角与万向节死锁
  • 原文地址:https://www.cnblogs.com/solvit/p/11345482.html
Copyright © 2011-2022 走看看