当前位置:网站首页>Left multiply right multiply matrix problem
Left multiply right multiply matrix problem
2022-06-23 07:35:00 【Niu Shenzi】
When transforming a vector , The left and right multiplication matrices are actually the same ( Maybe someone will raise an objection ), Our goal is to transform vectors , Vectors are interpreted the same by column or row .
a It's a vector ,M It's a matrix , The end result is a vector , The result of a vector and its transpose is the same , Only when multiplied by a matrix :
According to the theorem of matrix transpose
(aM) The transpose = M The transpose * a The transpose
A key conclusion :
aM = M The transpose * a The transpose
The row vector times the matrix is equal to the transpose of the matrix times the column vector ( Transpose of row vectors )
This explains the different rotation matrices in some books
as follows :
1.2D Rotation matrix
If it's a vector left multiply matrix , The rotation matrix is :M
cos(angle) sin(angle)
-sin(angle) cos(angle)
vector a=(x,y)
Vector left multiply matrix : a* M
And some books 2D The rotation matrix is like this :M2
cos(angle) -sin(angle)
sin(angle) cos(angle)
Vector right multiply matrix :M2 * a
This is the conclusion above ,a*M=M2 * a
The row vector times the matrix is equal to the transpose of the matrix times the column vector ( Transpose of row vectors )
So some books use column vector right multiplication , Some are left multiplication of row vectors , To make a difference , The result is the same .
The row vector times the matrix , Each row of the matrix is the transformed basis vector .
Matrix Times column vector , Each column of a matrix is a transformed basis vector .
notes : And the basis vector here is not normalized , It can be scaled differently .
Unity In the essentials of introduction, the object is transformed from object space to world space , Get the position and direction of the coordinate axis of the object in world space , Directly put the base vector of the coordinate axis into the first three columns of the matrix , When the position of the coordinate axis is placed in the fourth column, the matrix from the object to the world is constructed .
Similarly, it can be extended to 3x3、4x4 matrix
such as 4x4 Translation matrix , Some books put the offset in the fourth column , Some are put on the fourth line , The principle of same .
边栏推荐
- C WPF additional attribute implementation interface defines decorator
- The original cloud landed in deep water, and the cloud product family of Boyun container released four values
- MySQL(五) — 锁及事务
- Technical article writing guide
- Several characteristics of MySQL database
- 20BN-Jester完整数据集下载
- [game theory] basic knowledge
- MySQL (IV) - MySQL storage engine
- Here comes the dry goods | PAAS collection to see first ~
- leetcode210. Schedule II 207 Curriculum topology sorting DFS BFS
猜你喜欢

CIRIUM(睿思誉)逐渐成为航空公司二氧化碳排放报告的标准

In depth learning series 47:stylegan summary

3dmax插件开发环境配置及FileExport和Utilities模板测试

Cirium has gradually become the standard for airlines' carbon dioxide emission reporting

链游飞船开发 农民世界链游开发 土地链游开发

MySQL Niuke brush questions

Akamai-1.75版本-_abck参数生成-js逆向分析

3DMAX plug-in development environment configuration and fileexport and utilities template testing

The original cloud landed in deep water, and the cloud product family of Boyun container released four values

Mysql(十一) — MySQL面试题整理
随机推荐
MySQL Niuke brush questions
MySQL总结
yolov5检测小目标(附源码)
Focusing on the industry, enabling customers | release of solutions for the five industries of the cloud container cloud product family
Flannel 工作原理
[2022 graduation season] from graduation to transition to the workplace
Elaborate on the operation of idea
Redis setting password
SimpleDateFormat 线程安全问题
基于51单片机的温度检测监测报警系统设计
C WPF realizes dynamic loading of controls through binding
【博弈论】基础知识
Heterogeneous transaction scenario interaction process and consistency assurance
[AI practice] data normalization and standardization of machine learning data processing
Product axure9 (English version), prototype design background dynamic secondary menu display content
How to solve CSRF attack in laravel
传智教育 | 多人协作开发出现代码冲突,如何合并代码?
GINet
什么是分布式?
左乘右乘矩阵问题