Polyn Arithmetic: Polyn Arithmetic Operators
Description
Arithmetic Operators for the "Polyn" class.
Usage
"+"(p1,p2)
"-"(p1,p2)
"*"(p1,p2)
"/"(p,x)
"^"(p,n)
Arguments
x
a real number or a Polyn object
n
a positive integer number
Value
Returns the Polyn object resulting of the arithmetical operation.
Examples
Run this codep1 <- 1+B
p2 <- (A+B)^2
p3 <- p1*p2
Run the code above in your browser using DataLab