RobinHankin / clifford

https://robinhankin.github.io/clifford/
5 stars 0 forks source link

replacement infelicity #107

Closed RobinHankin closed 6 months ago

RobinHankin commented 6 months ago

Following replacement should work:

library("clifford")
set.seed(0)
(a <- rcliff())
#> Element of a Clifford algebra, equal to
#> + 5 + 6e_1 - 9e_12 - 3e_14 + 3e_26 - 6e_126 + 1e_236 - 1e_56 + 4e_156
a[list(1:2,1:4)] <- 99

(at least, Extract.Rd suggests it would)