poly.div {ShapDoE} | R Documentation |
Polynomial division
Description
Polynomial division
Usage
poly.div(f1, f2)
Arguments
f1 |
a vector represents the coefficients of the dividend polynomial. For example, if the dividend is x^5+2x^3+1, then f1=c(1,0,2,0,0,1). |
f2 |
a vector represents the coefficients of the dividend polynomial. For example, if the divisor is x^4+2, then f2=c(1,0,0,0,2). |
Value
a vector represents the coefficients of the resulting polynomial. For example, the result c(2,0,-2,1) represents 2x^3-2x+1.
Examples
poly.div(c(1,0,2,0,0,1),c(1,0,0,0,2))
[Package ShapDoE version 1.0.0 Index]