Quaternion.exp
Quaternion.exp
: Synonym of property exponential()
code
Returns:
: **exp** – Exponential of quaternion.
Return type:
: numpy.ndarray
Examples
```defaultq1 = Quaternion([0.0, -2.0, 3.0, -4.0]) str(q1) '(0.0000 -0.3714i +0.5571j -0.7428k)'
q1.exp [ 0.54030231 -0.31251448 0.46877172 -0.62502896]
q2 = Quaternion([1.0, -2.0, 3.0, -4.0]) str(q2) '(0.1826 -0.3651i +0.5477j -0.7303k)'
q2.exp [ 0.66541052 -0.37101103 0.55651655 -0.74202206] ```