i'm reading 3D math primer for graphics and game development By Fletcher Dunn and Ian Parberry, on page 170, the logarithm of quaternion is defined as
\begin{align} \log \mathbf q &= \log \left( \begin{bmatrix} \cos \alpha & \mathbf n \sin \alpha \end{bmatrix} \right) \\ &\equiv \begin{bmatrix} 0 & \alpha \mathbf n \end{bmatrix} \end{align}
i don't see how does $\log \left( \begin{bmatrix} \cos \alpha & \mathbf n \sin \alpha \end{bmatrix} \right)$ equals to $\begin{bmatrix} 0 & \alpha \mathbf n \end{bmatrix}$, can anyone help me out?
thanks.