Qlog {RSpincalc}R Documentation

Quaternion logarithm

Description

Qlog performs a quaternion logarithm operation. Qexp performs a quaternion exponential operation.

Usage

Qlog(Q)
Qexp(Q)

Arguments

Q

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

Value

Q

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

Author(s)

Jose Gama

Examples

Q <- c(-0.1677489, -0.7369231, -0.3682588, 0.5414703)
Qlog(Q)
Qexp(Q)

[Package RSpincalc version 1.0.2 Index]