Skip to contents

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