The coefficients of a polynom or polynomial matrix
Returns the coefficients of the given polynom or polynomial matrix.
coefs(p,degree="all")
## S3 method for class 'polynomial'
coefs(p,degree="all")
## S3 method for class 'polyMatrix'
coefs(p,degree="all")p |
a |
degree |
"all" or the serial numben of requested coefficients. |
The coefs consists of two methods.
One for a polynomial objects,
the other one for polyMatrix objects.
A vector of the requested coefficients of the input polynom or
a list of the requested coefficient matrices of the input polyMatrix.
coefs(polynom::polynomial(12:0)) coefs(polynom::polynomial(12:0),degree=c(2,3)) coefs(polyMgen.a()) coefs(polyMgen.b()) coefs(polyMgen.c()) coefs(polyMgen.d()) coefs(polyMgen.d(),degree=1)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.