Learn R Programming

tolBasis (version 1.0)

Polyn Arithmetic: Polyn Arithmetic Operators

Description

Arithmetic Operators for the "Polyn" class.

Usage

"+"(p1,p2) "-"(p1,p2) "*"(p1,p2) "/"(p,x) "^"(p,n)

Arguments

p1, p2, p
Polyn objects
x
a real number or a Polyn object
n
a positive integer number

Value

Returns the Polyn object resulting of the arithmetical operation.

See Also

See also Ratio

Examples

Run this code
p1 <- 1+B
p2 <- (A+B)^2
p3 <- p1*p2

Run the code above in your browser using DataLab