Compare-methods {onion}R Documentation

Methods for compare S4 group

Description

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

Value

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



  

[Package onion version 1.5-3 Index]