|
inlineconstexpr |
Callable object computing a quaternion from its multipolar representation.
This function build quaternions in a way similar to the way polar builds complex numbers from a multipolar representation of an \(\mathbb{R}^4\) element.
from_multipolar
takes the two successive \(\mathbb{C}\) components of the quaternion in polar coordinates
Parameters
rho1
, rho2
: the moduli
theta1
, theta2
: the angles in radian
Return value
the quaternion value