Compare: Methods for compare S4 group

Description Value Examples

Description

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

Value

Return a boolean

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
# 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



  

onion documentation built on Feb. 11, 2021, 9:06 a.m.