powered by
Coerces an onionic vector into a matrix.
# S3 method for onion as.matrix(x, ...)
Onionic vector
Further arguments (currently ignored)
The matrix returned has 4 rows for a quaternion, 8 for an octonion
# NOT RUN { det(as.matrix(roct(8))) # }
Run the code above in your browser using DataLab