^ Matrix power
(Quaternion overloading of standard MATLAB® function)
Y = X ^ Y
X ^ Y raises the quaternion X to the power Y. If both parameters are scalar, the .^ function is called, otherwise, limited cases of small integers for Y are handled by repeated multiplication.
Other cases are unimplemented, but may be implemented at a later date.