当前位置:网站首页>Latex common summary (2): input matrix (input matrix, diagonal matrix, equations, etc.)
Latex common summary (2): input matrix (input matrix, diagonal matrix, equations, etc.)
2022-07-27 23:53:00 【Width in the journey~】
Latex How to input various matrices :
\usepackage{
amsmath,amssymb,amsfonts}
1. Direct use matrix、pmatrix、bmatrix、Bmatrix perhaps vmatrix
2. The second method array
3. Insert equations
The first method
(1) Direct use matrix
\begin{
equation*}
\begin{
matrix}
1 & 0 & 0\\
0 & 1 & 0\\
0 & 0 &1
\end{
matrix}
\end{
equation*}
Our output is :
(2) Direct use pmatrix
\begin{
equation*}
\begin{
pmatrix}
1 & 0 & 0\\
0 & 1 & 0\\
0 & 0 &1
\end{
pmatrix}
\end{
equation*}
Our output is :
(3) Direct use bmatrix
\begin{
equation*}
\begin{
bmatrix}
1 & 0 & 0\\
0 & 1 & 0\\
0 & 0 &1
\end{
bmatrix}
\end{
equation*}
Our output is :
(4) Direct use Bmatrix
\begin{
equation*}
\begin{
Bmatrix}
1 & 0 & 0\\
0 & 1 & 0\\
0 & 0 &1
\end{
Bmatrix}
\end{
equation*}
Our output is :
(5) Direct use vmatrix
\begin{
equation*}
\begin{
vmatrix}
1 & 0 & 0\\
0 & 1 & 0\\
0 & 0 &1
\end{
vmatrix}
\end{
equation*}
Our output is :
(6) Direct use Vmatrix
\begin{
equation*}
\begin{
Vmatrix}
1 & 0 & 0\\
0 & 1 & 0\\
0 & 0 &1
\end{
Vmatrix}
\end{
equation*}
Our output is :
Let's summarize :
\begin{
equation*}
\begin{
gathered}
\begin{
matrix} 1 & 0 & 0 \\ 0 & 1 & 0\\ 0 & 0 &1 \end{
matrix}
\quad
\begin{
pmatrix} 1 & 0 & 0 \\ 0 & 1 & 0\\ 0 & 0 &1 \end{
pmatrix}
\quad
\begin{
bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0\\ 0 & 0 &1 \end{
bmatrix}
\quad
\begin{
Bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0\\ 0 & 0 &1 \end{
Bmatrix}
\quad
\begin{
vmatrix} 1 & 0 & 0 \\ 0 & 1 & 0\\ 0 & 0 &1 \end{
vmatrix}
\quad
\begin{
Vmatrix} 1 & 0 & 0 \\ 0 & 1 & 0\\ 0 & 0 &1 \end{
Vmatrix}
\end{
gathered}
\end{
equation*}
Our output is :
(7) The most commonly used matrix insertion
\begin{
equation*}
\begin{
bmatrix}
a_{
11} & a_{
12} & a_{
13} \\
a_{
21} & a_{
22} & a_{
23} \\
a_{
31} & a_{
32} & a_{
33}
\end{
bmatrix}
\end{
equation*}
Our output is :
(8) Diagonal matrix insertion :
\begin{
equation*}
\begin{
bmatrix}
a_{
11} & & & \\
& a_{
22} & & \\
& & a_{
33}&\\
& & &a_{
44}
\end{
bmatrix}
\end{
equation*}

(9) Writing of complex matrix
\begin{
equation*}
\begin{
bmatrix}
a1 & a2 & \cdots & an\\
b1 & b2 & \cdots & bn\\
\vdots & \vdots &\ddots & \vdots\\
m1 & m2 & \cdots & mn
\end{
bmatrix}
\end{
equation*}
Our output is :
The second method array
\begin{
equation*}
\left[
\begin{
array}{
ccc}
a_{
11} & a_{
12} & a_{
13} \\
a_{
21} & a_{
22} & a_{
23} \\
a_{
31} & a_{
32} & a_{
33}
\end{
array}
\right]
\end{
equation*}
Our output is :
Summary of matrix multiplication
\begin{
equation*}
\left[
\begin{
array}{
c}
X \\
\Theta \\
y
\end{
array}
\right]
=
\left[
\begin{
array}{
ccc}
a_{
11} & a_{
12} & a_{
13} \\
a_{
21} & a_{
22} & a_{
23} \\
a_{
31} & a_{
32} & a_{
33}
\end{
array}
\right]
\left[
\begin{
array}{
c}
b_{
1} \\
b_{
2} \\
b_{
3}
\end{
array}
\right]
\end{
equation*}
Our output is :
Insert equations
\begin{
equation*}
\left\{
\begin{
array}{
c}
a_{
11}x_1+a_{
12}x_2+\cdots+a_{
1n}x_n=b_1 \\
a_{
21}x_1+a_{
22}x_2+\cdots+a_{
2n}x_n=b_2 \\
\cdots \\
a_{
n1}x_1+a_{
n2}x_2+\cdots+a_{
nn}x_n=b_n
\end{
array}
\right.
\end{
equation*}
Our output is :
边栏推荐
猜你喜欢
![[RoarCTF2019]RSA](/img/0e/8c8371ccf40094e5b03e502d6ae851.png)
[RoarCTF2019]RSA

File & recursion 14.1

Monologue of a software Investor: why don't I pursue fast-growing companies

Redis 哈希Hash底层数据结构

Realization of gobang man-machine combat

给网站套上Cloudflare(以腾讯云为例)
![[RoarCTF2019]babyRSA威尔逊定理](/img/c1/52e79b6e40390374d48783725311ba.gif)
[RoarCTF2019]babyRSA威尔逊定理

Introduction to several common usage scenarios of message queue
![[JS reverse hundred examples] a public resource trading network, reverse analysis of announcement URL parameters](/img/05/7029eb1fe36d7ddab2640f07247c81.png)
[JS reverse hundred examples] a public resource trading network, reverse analysis of announcement URL parameters
![[December Haikou] the 6th International Conference on ships, marine and Maritime Engineering in 2022 (naome 2022)](/img/a4/041268aadd5d8ff493b52ead9c5e79.png)
[December Haikou] the 6th International Conference on ships, marine and Maritime Engineering in 2022 (naome 2022)
随机推荐
西门子PLC能否实时无线采集多处从站模拟量数据?
The total investment is 60billion! Foxconn semiconductor high-end package test project officially settled in Qingdao
In 2019, the world's top ten semiconductor manufacturers: Intel returned to the first place, and apple rose sharply against the trend
如果我们是那晚负责修复 B 站崩了的开发人员
Is it really hard to understand? What level of cache is the recyclerview caching mechanism?
Bank marketing predicts the success rate of a customer's purchase of financial products
Elk log analysis system installation and deployment
Comparison between virtual memory and cache
TCP的粘包拆包问题+解决方案
Master data management theory and Practice
What technology is RPA process automation robot? How to realize office automation?
Lua基础语法学习
Sudden, wechat important notice
【zer0pts CTF 2022】 Anti-Fermat
Accelerate IGBT localization! BYD semiconductor will be listed independently, with a market value of 30billion yuan!
Current situation and future of Nb IOT industry: cross the threshold of 100million shipments and rush to 5g connection!
[MRCTF2020]babyRSA
TOGAF10标准读书会首场活动圆满举办,精彩时刻回顾!
实现按照序号命名的txt文件由后往前递补重命名文件
主数据管理理论与实践