FANDOM


M xyzw

 Name Edit

Mul M * xyzw - multiply a matrix by a column vector.

Synopsis Edit

vector4 mul(matrix M, vector4 xyzw);
vector4 mul(matrix M, vector3 xyzw);
vector4 mul(matrix M, vector2 xyzw);
vector4 mul(matrix M, vector1 xyzw);

Parameters Edit

M
Matrix
xyzw
Vector

Description Edit

Returns the vector result of multiplying a matrix M by a column vector v.

The following are algebrically equal (if not necessarily numerically equal):

mul(M,xyzw) == mul(xyzw, tranpose(M))
mul(xyzw,M) == mul(tranpose(M), xyzw)

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.