z1: Quaternion multiplication

Description Usage Arguments Value Author(s) Examples

Description

%Q*% performs a quaternion multiplication.

Usage

1
Q1 %Q*% Q2

Arguments

Q1

Quaternion (Q) vector [q1, q2, q3, q4].

Q2

Quaternion (Q) vector [q1, q2, q3, q4].

Value

Q

Quaternion result of multiplication (Q) vector [q1, q2, q3, q4].

Author(s)

Jose Gama

Examples

1
2
3
4
5
## Not run: 
Q <- c(-0.1677489, -0.7369231, -0.3682588, 0.5414703)
Q %Q*% Q

## End(Not run)

RSpincalc documentation built on May 30, 2017, 2:05 a.m.

Search within the RSpincalc package
Search all R packages, documentation and source code