Skip to contents

Quaternion Invert

Usage

quaternion_invert(q)

Arguments

q

A numeric vector of length 4.

Value

A numeric vector of length 4

Examples

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