Quaternion {LSE}R Documentation

Quaternion transformation

Description

A quaternion q=a+bi+cj+dk can be transformed into a real value matrix M(4x4).

Usage

Quaternion(a,b,c,d)

Arguments

a

Real value coefficient.

b

Coefficient of the imaginary i-axis.

c

Coefficient of the imaginary j-axis.

d

Coefficient of the imaginary k-axis.

Value

Real value matrix to represent a quaternion.

Author(s)

Sergio Andrés Cabrera Miranda Statician sergio05acm@gmail.com

References

Al-Zhour, Z. (2019). Some new linear representations of matrix quaternions with some applications. Journal of King Saud University-Science, 31(1), 42-47.

Examples

Quaternion(1,0,1,0)

rbind(cbind(Quaternion(-1,0,1,0),Quaternion(0,0,0,-1)),
      cbind(Quaternion(0,1,0,0),Quaternion(1,0,1,0))
      )

[Package LSE version 1.0.0 Index]