当前位置:网站首页>[TA frost wolf \u may- hundred people plan] 1.2.1 vector basis
[TA frost wolf \u may- hundred people plan] 1.2.1 vector basis
2022-07-01 03:47:00 【zczplus】
【TA- Frost Wolf _may-《 Hundred people plan 》】1.2.1 Vector basis
- 1.2.1.1 vector
- 1.2.1.2 Calculation
- Calculation of scalar and vector
- The module length of the vector
- Normalized vectors
- Addition and subtraction of vectors
- Calculate the distance between two points
- Dot product operation of vector
- Projection
- Lambert illumination model
- The cross product of vectors
- Determine the size and direction of cross product
1.2.1.1 vector
The definition of vector
- A vector is a directed line segment with size and direction
- The vector has no position
- The arrow of the vector is the end of the vector , The tail of the vector is the beginning of the vector
- The displacement described by the vector can be considered as a displacement sequence parallel to the axis
- Representation of vectors : The three dimensional (ax,ay,az) for example (1,-5,7)
Vector and scalar
vector : There is size and direction
Scalar : Only size, no direction
Vectors and points
The mathematical form of a vector is the same as that of a point , But the geometric meaning is completely different
spot : Only location information
vector : No location information , But there is actual size and orientation information
contact : Any point can be regarded as a vector starting from the origin
Zero vector
- The zero vector is the only vector of zero size
- The zero vector is the only quantity that has no direction
- The zero vector is not a point , Because the zero vector doesn't define a position
- Zero vector means that there is no unique , Just like zero scalar means no quantity
1.2.1.2 Calculation
Calculation of scalar and vector
- No addition
- No subtraction
- Multiplication : Multiply each component of the vector by the scalar
- division : Equivalent to multiplying the reciprocal of scalar
The module length of the vector
- Calculation formula :||v|| = √vx²+vy²
- Geometric interpretation : Construct a right triangle with a vector as the hypotenuse , The size of the vector shown ( Die length ) It can be obtained from Pythagorean theorem
Normalized vectors
- Normalized vectors ( Unit vector ) The module length is 1 Vector .( Just know the direction , application : normal )
- Algorithm : Divide the components of the vector by the module length
Addition and subtraction of vectors
- Calculation formula :(ax,ay)±(bx,by) = (ax+bx,ay+by)
- The addition and subtraction of corresponding positions
- Geometric interpretation : Superposition of displacements in all directions
Calculate the distance between two points
- Calculation formula :(a,b)= ||b-a|| = √(bx-ax)²+(by-ay)²
- And so on in higher space
- Range of application : Calculate the distance from one vector to another (a To b The displacement vector of is b-a)
Dot product operation of vector
- Calculation formula :(ax,ay)·(bx,by)=(axbx+ayby)
- Vector point multiplication is the sum of component products , Satisfying the commutative law
- Geometric interpretation : The result of point multiplication describes the of two vectors “ be similar ” Degree of , The greater the result of dot multiplication , The smaller the angle , The closer the two vectors are .
Projection
- The projection length of one vector on another vector
Lambert illumination model
Lambert illumination model is the simplest illumination model used to simulate diffuse reflection .
set up : The opposite direction of the illumination direction is L vector , The discovery direction is N vector , Then there are :
- L And N In the same direction :Nor·Light = 1( Pure bright )
- L And N When the direction is opposite :Nor·Light = -1( Pure dark )
- L And N When the direction is vertical :Nor·Light = 0( Pure dark )
The cross product of vectors
Only for 3D vector , The calculation formula is shown in the figure :
Does not satisfy the law of exchange , But it satisfies the inverse commutative law :
a X b ≠ b X a
a X b = - (b X a)
- Vector cross multiplication is the cross multiplication and subtraction of components , The result is a vector .
- Geometric interpretation : The vector obtained by cross multiplication is perpendicular to the original two vectors .
Determine the size and direction of cross product
The calculation formula is shown in the figure :
The direction follows the left-handed coordinate system , When the starting points coincide , from a The vector turns b vector , The direction of the thumb is the direction of the result .
边栏推荐
- AfxMessageBox和MessageBox的用法
- You cannot right-click F12 to view the source code solution on the web page
- Processing of menu buttons on the left and contents on the right of the background system page, and double scrolling appears on the background system page
- [TA frost wolf \u may - "hundred people plan"] 2.1 color space
- 392. judgment subsequence
- Test function in pychram
- 165. compare version numbers
- Complete knapsack problem
- [EI conference] the Third International Conference on nanomaterials and nanotechnology in 2022 (nanomt 2022)
- Pyramid Scene Parsing Network【PSPNet】论文阅读
猜你喜欢

Leetcode 31 next spread, leetcode 64 minimum path sum, leetcode 62 different paths, leetcode 78 subset, leetcode 33 search rotation sort array (modify dichotomy)

【TA-霜狼_may-《百人计划》】1.2.3 MVP矩阵运算

FCN full Convolution Network Understanding and Code Implementation (from pytorch Official Implementation)

程序员女友给我做了一个疲劳驾驶检测

Millet College wechat scanning code login process record and bug resolution

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

整合阿里云短信的问题:无法从静态上下文中引用非静态方法

小程序容器技术与物联网IoT的结合点
![4. [WebGIS practice] software operation chapter - data import and processing](/img/5a/b86e0538660f27c809cf429053a06c.png)
4. [WebGIS practice] software operation chapter - data import and processing

MFC窗口滚动条用法
随机推荐
LeetCode 128最长连续序列(哈希set)
【TA-霜狼_may-《百人计划》】1.3纹理的秘密
【JPCS出版】2022年第三届控制理论与应用国际会议(ICoCTA 2022)
静态库使用MFC和共享库使用MFC的区别
Ouc2021 autumn - Software Engineering - end of term (recall version)
Leetcode 128 longest continuous sequence (hash set)
166. fractions to decimals
Take you through a circuit board, from design to production (dry goods)
【EI会议】2022年国际土木与海洋工程联合会议(JCCME 2022)
Cygwin的下载和安装配置
程序员女友给我做了一个疲劳驾驶检测
【TA-霜狼_may-《百人計劃》】2.3 常用函數介紹
208. 实现 Trie (前缀树)
Download and installation configuration of cygwin
MFC窗口滚动条用法
205. isomorphic string
Pytorch training deep learning network settings CUDA specified GPU visible
What happens when a function is called before it is declared in C?
Error: plug ins declaring extensions or extension points must set the singleton directive to true
Appium automation test foundation -- supplement: c/s architecture and b/s architecture description