Skip to contents

Quaternion Multiply

Usage

quaternion_multiply(q1, q2)

Arguments

q1

A numeric vector of length 4.

q2

A numeric vector of length 4.

Value

A numeric vector of length 4

Examples

quaternion_multiply(c(0, 0, 0, 1), c(0, 0, 0, 1))
#> x y z w 
#> 0 0 0 1