powered by
The constant of a weyl object is the coefficient of the term with all zeros.
weyl
constant(x, drop = TRUE) constant(x) <- value
Returns a numeric or weyl object
Object of class weyl
Boolean with default TRUE meaning to return the value of the coefficient, and FALSE meaning to return the corresponding Weyl object
TRUE
FALSE
Constant value to replace existing one
Robin K. S. Hankin
(a <- rweyl()+700) constant(a) constant(a,drop=FALSE) constant(a) <- 0 constant(a) constant(a,drop=FALSE) constant(a+66) == constant(a) + 66
Run the code above in your browser using DataLab