is_versor¶
-
Quaternion.
is_versor
() → bool¶ Returns a bool value, where
True
if quaternion is a versor.A versor is a quaternion of norm equal to one:
\[\begin{split}\left\{ \begin{array}{ll} \mathrm{True} & \: \|\mathbf{q}\| = 1 \\ \mathrm{False} & \: \mathrm{otherwise} \end{array} \right.\end{split}\]Returns: out – Boolean equal to True
if \(\|\mathbf{q}\|=1\).Return type: bool