This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:multi-maths [2020/05/15 10:17] – [Vector Computations] lightwolf | tools:multi-maths [2020/05/15 10:20] (current) – [Vector Computations] lightwolf | ||
---|---|---|---|
Line 51: | Line 51: | ||
^Vector =^Description^ | ^Vector =^Description^ | ||
- | |A + B| | + | |A + B|Adds two vectors| |
- | |A - B| | + | |A - B|Subtracts vector B from A| |
- | |A * B| | + | |A * B|Multiplies the components of two vectors| |
- | |A / B| | + | |A / B|Divides the components of A by the components of B| |
- | |A x B (cross product)| | + | |A x B (cross product)|Computes the cross product between two vectors, this results in a vector perpendicular to both of them| |
- | |A * X| | + | |A * X|Multiplies a vector by a scalar| |
- | |A / X| | + | |A / X|Divides a vector by a scalar| |
- | |normalize(A)| | + | |normalize(A)|Normalises vector A| |
- | |A * M| | + | |A * M|Multiplies a vector by a matrix| |
===== Matrix Computations ===== | ===== Matrix Computations ===== | ||
+ | |||
+ | The result of these is a 4x4 matrix. | ||
^Matrix =^Description^ | ^Matrix =^Description^ |