Compare function

Methods for compare S4 group

Methods for compare S4 group

Methods for comparison (equal to, greater than, etc) of onions. Only equality makes sense. methods

Returns

Return a boolean

Examples

# roct() > 0 # meaningless and returns an error x <- as.octonion(matrix(sample(0:1,800,TRUE,p=c(9,1)),nrow=8)) y <- as.octonion(matrix(sample(0:1,800,TRUE,p=c(9,1)),nrow=8)) x==y matrix(as.quaternion(100+1:12),3,4) == 102
  • Maintainer: Robin K. S. Hankin
  • License: GPL-2
  • Last published: 2024-03-29