Qnorm: Norm of a quaternion

Description Usage Arguments Value Author(s) Examples

Description

Qnorm calculates the norm of a quaternion.

Usage

1
Qnorm(Q)

Arguments

Q

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

Value

Norm of the quaternion.

Author(s)

Jose Gama

Examples

1
2
Q <- c(-0.1677489, -0.7369231, -0.3682588, 0.5414703)
Qnorm(Q)

Example output

[1] 1

RSpincalc documentation built on May 2, 2019, 10:59 a.m.

Related to Qnorm in RSpincalc...