当前位置:网站首页>[TA frost wolf \u may- hundred talents plan] 1.2.2 matrix calculation
[TA frost wolf \u may- hundred talents plan] 1.2.2 matrix calculation
2022-07-01 03:47:00 【zczplus】
【TA- Frost Wolf _may-《 Hundred people plan 》】1.2.2 Matrix computing
1.2.2 Matrix computing
1.2.2.1 matrix
Definition : One m x n The matrix of is a matrix of m That's ok n A rectangular array of column elements .
In graphics, we usually operate on the square matrix , Two dimensional second order , Three dimensional third order , Three dimensional band translation is fourth order .
There are other examples :
- Unit matrix
- Zero matrix Zero matrices of different sizes are different , Identity matrix is the same .
1.2.2.2 The addition and subtraction of matrices
Premise : Homomorphic matrices
The addition and subtraction of matrix is the addition of corresponding positions .
1.2.2.3 The multiplication of a matrix
Multiply each position by a scalar
1.2.2.4 Multiplication of matrices
Need to meet a certain degree of legitimacy
m x n The matrix of can only be combined with n x p matrix multiplication
The matrix size after multiplication must be m x p
Geometric meaning :
- matrix x A matrix can be thought of as a scaling overlay rotation , Or a form of transformation
- matrix x vector Finally, we get a new vector or vertex coordinate
Compound transformation in matrix :
There can be two calculation orders :
Satisfy the operation law :
Commonly used transformation matrix :
Coordinate transformation in three-dimensional space :
Unity in , Rotation in three-dimensional space follows z、x、y In the order of
1.2.2.5 The transpose of the matrix
The transpose of a matrix has the following properties :
unity When matrix operation is performed on each point of the model in , The operation on the fourth column cannot achieve the purpose of Translation , However, the corresponding effect can be achieved by operating the fourth line at the corresponding position , The reason is Unity Matrix stored procedure , The whole is transposed , So in the subsequent code process , It is suggested to transpose the translation matrix and then perform additional operations .
1.2.2.6 Inverse matrix
Calculation of inverse matrix :
Properties of inverse matrix :
summary
Various geometric meanings in matrix calculation :
- Addition and subtraction : The change of unit vector
- Number multiplication : Scaling of unit vectors
- Matrix multiplication : The zoom 、 rotate 、 Displacement ( High dimension required )、 Oblique cutting 、 Mirror symmetry , The tensile , Various shaft rotation, etc
- Transposition : The positions of rows and columns are interchangeable
- The matrix of the inverse : Changes to a matrix , It can be restored by multiplying the inverse matrix
The matrix formula :
- Addition and subtraction : The shape of the matrix is exactly the same , Add the corresponding positions
- Number multiplication : Multiply each position of the matrix by the scalar
- Matrix multiplication : From right to left . When two matrices are multiplied , The rows of the matrix on the left remain unchanged , Traverse the columns of the matrix on the right in turn and multiply , Fill in the same rows of the matrix on the left in order , Until the matrix traversal on the right is completed , Then jump to the next row of the matrix on the left , Repeat the above operation , Until the last row of the matrix on the left .
therefore , The shape of the two matrices must satisfy that the left side is :m x n, On the right is :n x p, That is, the number of columns of the left matrix is equal to the number of rows of the right matrix . - The matrix of the inverse : The inverse of a matrix is multiplied by the inverse of a matrix to form an identity matrix
边栏推荐
- Pyramid scene parsing network [pspnet] thesis reading
- Quickly filter data such as clock in time and date: Excel filter to find whether a certain time point is within a certain time period
- Online public network security case nanny level tutorial [reaching out for Party welfare]
- AfxMessageBox和MessageBox的用法
- [TA frost wolf \u may- hundred people plan] 1.3 secret of texture
- jeecgboot输出日志,@Slf4j的使用方法
- Grid system in bootstrap
- 187. 重复的DNA序列
- Take you through a circuit board, from design to production (dry goods)
- Complete knapsack problem
猜你喜欢

Pyramid Scene Parsing Network【PSPNet】论文阅读

LeetCode 31下一个排列、LeetCode 64最小路径和、LeetCode 62不同路径、LeetCode 78子集、LeetCode 33搜索旋转排序数组(修改二分法)
![[TA frost wolf \u may- hundred people plan] 2.4 traditional empirical lighting model](/img/05/85c004e4fbfc8d4984ac04ddb1190b.png)
[TA frost wolf \u may- hundred people plan] 2.4 traditional empirical lighting model

C语言的sem_t变量类型

ASGNet论文和代码解读2

How keil displays Chinese annotations (simple with pictures)

使用selenium自动化测试工具爬取高考相关院校专业招生分数线及排名情况

详解Spark运行模式(local+standalone+yarn)

【TA-霜狼_may-《百人計劃》】2.3 常用函數介紹

Idea plug-in backup table
随机推荐
Pathmeasure implements loading animation
Pytorch training deep learning network settings CUDA specified GPU visible
【TA-霜狼_may-《百人计划》】1.3纹理的秘密
torch.histc
[deep learning] activation function (sigmoid, etc.), forward propagation, back propagation and gradient optimization; optimizer. zero_ grad(), loss. backward(), optimizer. Function and principle of st
171. excel table column No
431. 将 N 叉树编码为二叉树 DFS
Appium automation test foundation -- supplement: c/s architecture and b/s architecture description
168. excel table column name
Cygwin的下载和安装配置
【JPCS出版】2022年第三届控制理论与应用国际会议(ICoCTA 2022)
Leetcode: offer 59 - I. maximum value of sliding window
LeetCode 128最长连续序列(哈希set)
[TA frost wolf \u may - "hundred people plan"] 2.1 color space
Gorilla/mux framework (RK boot): RPC error code design
208. implement trie (prefix tree)
Online public network security case nanny level tutorial [reaching out for Party welfare]
Feature Pyramid Networks for Object Detection论文理解
How keil displays Chinese annotations (simple with pictures)
Feature pyramid networks for object detection