|
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 the two \(\mathbb{C}\) components of the quaternion are given in polar coordinates
Defined in header
Parameters
rho1
, rho2
: the moduli
theta1
, theta2
: the angles in radian
Return value
the quaternion value