Octonions and Quaternions
The adjoint map
Methods for Function Arith in package Onion
Various non-field diagnostics
Returns the biggest type of a set of onions
Binding of onionmats
Concatenation
Methods for compare S4 group
Complex functionality for onions
Condense an onionic vector into a short form
Cumulative sums and products of onions
Drop zero imaginary parts of an onionic vector
Extract or Replace Parts of onions or glubs
Length of an octonionic vector
Logical operations on onions
Various logarithmic and circular functions for onions
Names of an onionic vector
Unit onions
Class onion
tools:::Rd_package_title("onion")
Basic onion functions
Onionic matrices
Orthogonal matrix equivalents
Three dimensional plotting
Plot onions
Various products of two onions
Replicate elements of onionic vectors
Random onionic vectors
Rotates 3D vectors using quaternions
Rounding of onions
seq method for onions
Print method for onions
Various summary statistics for onions
Concatenation
Quaternions and Octonions are four- and eight- dimensional extensions of the complex numbers. They are normed division algebras over the real numbers and find applications in spatial rotations (quaternions), and string theory and relativity (octonions). The quaternions are noncommutative and the octonions nonassociative. See the package vignette for more details.