gfpoly.multi {ShapDoE} | R Documentation |
Polynomial mutiplication defined on GF(s) with a prime s
Description
Polynomial mutiplication defined on GF(s) with a prime s
Usage
gfpoly.multi(f1, f2, s)
Arguments
f1 |
a vector represents the coefficients of the first multiplier 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 second multiplier polynomial. For example, if the divisor is x^4+2, then f2=c(1,0,0,0,2). |
s |
a prime, the order of the Galois filed (GF). |
Value
a vector represents the coefficients of the resulting polynomial. For example, the result c(1,0,2,0,2,1,1,0,0,2) represents x^9+2x^7+2x^5+x^4+x^3+2.
Examples
gfpoly.multi(c(1,0,2,0,0,1),c(1,0,0,0,2),3)
[Package ShapDoE version 1.0.0 Index]