powered by
# Creates a new Polyn Object Polyn(coeffs, base=0) "as.character"(x, ..., backward="B", forward="A") "print"(x, ...)
print
# Creates lag polynomial: 1+B^2 p <- Polyn(c(1,0,1)) # Gets the Polyn object expression as in TOL as.character(A+B, forward="F") # Prints the Polyn object as in TOL print(A+B, forward="F")
Run the code above in your browser using DataLab