|
inlineconstexpr |
Callable object computing a quaternion from its semipolar representation.
This function build quaternions in a way similar to the way polar builds complex numbers from a polar representation of an \(\mathbb{R}^2\) element.
Parameters
r
, alpha
, theta1
, theta2
Return value
the quaternion value.