# NOT RUN {
rcliff()
rcliff(d=3,g=2)
rcliff(3,10,7)
rcliff(3,10,7,include=TRUE)
x1 <- rcliff()
x2 <- rcliff()
x3 <- rcliff()
x1*(x2*x3) == (x1*x2)*x3 # should be TRUE
rblade()
# We can invert blades easily:
a <- rblade()
ainv <- rev(a)/scalprod(a)
zap(a*ainv) # should be = 1
zap(ainv*a) # should be = 1
# Perwass 2009, lemma 3.9:
A <- rblade(g=4) # r=4
B <- rblade(g=5) # s=5
C <- rblade(g=6) # t=6
grade(A*B*C,0)-grade(C*A*B,0) # geometric product uses '*'
# Intermediate step
x1 <- grade(A*B,7) %star% C
x2 <- C %star% grade(A*B,7)
x3 <- grade(C*A*B,0)
max(x1,x2,x3) - min(x1,x2,x3) # should be small
# }
Run the code above in your browser using DataLab