rotation_Q4 {tectonicr}R Documentation

Rotation of a vector by a quaternion

Description

Rotation of a vector by a quaternion

Usage

rotation_Q4(q, p)

Arguments

q

object of class "quaternion"

p

three-column vector (Cartesian coordinates) of unit length

Value

three-column vector (Cartesian coordinates) of unit length


[Package tectonicr version 0.2.95 Index]