Multiplies a quaternion with a scalar.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(quaternion), | intent(in) | :: | x |
The quaternion. |
||
| real(kind=real64), | intent(in) | :: | y |
The scalar. |
The resulting quaternion.
Multiplies a quaternion with a scalar.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(in) | :: | x |
The scalar. |
||
| type(quaternion), | intent(in) | :: | y |
The quaternion. |
The resulting quaternion.
Multiplies two quaternions.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(quaternion), | intent(in) | :: | x |
The left-hand-side argument. |
||
| type(quaternion), | intent(in) | :: | y |
The right-hand-side argument. |
The resulting quaternion.
Multiplies a quaternion with a 3-element vector.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(quaternion), | intent(in) | :: | x |
The quaternion. |
||
| real(kind=real64), | intent(in), | dimension(3) | :: | y |
The vector. |
The resulting quaternion.