Rotates vectors by a unit quaternion.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=rp), | intent(in), | dimension(:,:) | :: | v |
(3,n). Vectors to rotate. |
|
| real(kind=rp), | intent(in), | dimension(4) | :: | q |
Unit quaternion. |
|
| real(kind=rp), | intent(out), | dimension(:,:) | :: | vrot |
(3,n) Rotated vectors. |