Description Usage Arguments Details Value Methods (by class) See Also Examples
Characteristic polynomial of matrix
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | charpolynom(x)
## S4 method for signature 'matrix'
charpolynom(x)
## S4 method for signature 'polynomial'
charpolynom(x)
## S4 method for signature 'polyMatrix'
charpolynom(x)
## S4 method for signature 'polyMatrixCharPolynomial,ANY'
x[[i]]
## S4 method for signature 'polyMatrixCharPolynomial'
degree(x)
## S4 method for signature 'polyMatrixCharPolynomial'
predict(object, newdata)
## S4 method for signature 'polyMatrixCharPolynomial'
show(object)
|
x |
an matrix |
i |
the degree to extract polinomial coefficient |
object |
an R object |
newdata |
the value to evaluate |
The characteristic polynom of a polynomial matrix is a polynom with polynomial coefficients.
When the input is a numerical matrix of matrix
class
then the value is a polynomial
object.
When the input is a polyMatrix
object
then a value is polyMatrixCharClass
class object,
matrix
: for numerical matrix it is a polynomial with numerical coefficients
polynomial
: for polynomial it treats as a matrix 1x1
polyMatrix
: for polynomial matrix it has polynomial coefficients
x = polyMatrixCharPolynomial,i = ANY
: get polynomial coefficient of characteristic
polyMatrixCharPolynomial
: the degree of char polynomail of polynomial matrix
polyMatrixCharPolynomial
: value of char polynomail in polynomial point
polyMatrixCharPolynomial
: prints out a text representation of a characteristic polinomial of
polinomial matrix
polyMatrixCharClass
1 2 3 4 | # numerical matrices
m <- matrix(c(2, 1,
-1, 0), 2, 2, byrow=TRUE)
charpolynom(m)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.