* Matrix multiply
(Quaternion and octonion overloadings of standard MATLAB® function)
Y = A * B
A * B computes the quaternion matrix product. It is implemented for products of quaternion matrices and for quaternion matrices multiplied on the left or right by numeric matrices (real or complex), and for all combinations of pure and full quaternion matrices.
>> [qi, qj, qk] * [qi, qj, qk].' ans = -3 + 0 * I + 0 * J + 0 * K