adjoint | R Documentation |
Adjoint matrix and Characteristic Polynomial
adjoint(A) charpoly(A)
A |
a square matrix |
These functions compute the adjoint matrix and characteristic polynomial of A by the Fedeew-Leverrier algorithm.
If A has integer elements and the computations are performed with integer arithmetic the result is exact.
adjoint
returns the adjoint matrix of A
charpoly
returns the coefficients of the characteristic
polynomial of A
as a vector.
edges <- parse.digraph(c( "E *-> D", "D *-> C", "C -> E", "E *-> B", "B *-> A", "A -> E", "D -> B")) edges <- enforce.limitation(edges) A <- adjacency.matrix(edges,labels=TRUE) adjoint(A)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.