make_mcev | R Documentation |
Creates an eigenvector of a multicompanion matrix from the eigenvalue and the seed parameters.
make_mcev(eigval, co, dim, what.co = "bottom")
make_mcgev(eigval, co, v, what.co = "bottom")
eigval |
the eigenvalue. |
co |
the bottom (default) or the top seed elements of the vector. |
dim |
the size of the matrix. |
what.co |
type of |
v |
the previous vector in the chain. |
make_mcev
computes an eigenvector for a multi-companion
dim x dim
matrix by filling its top or bottom part with
co
and completing the remaining elements using the general
pattern of eigenvectors of such matrices
\insertCiteboshnakov2002mcmcompanion.
Similarly, make_mcgev
computes the next generalised
eigenvector in a chain whose previous element is v
.
what.co
cannot be "top"
if the eigenvalue is
0. Generalised eigenvectors corresponding to the zero eigenvalue have
some specifics, so it is better to use the specialised functions in
that case.
make_mcev
returns the required eigenvector.
make_mcgev
returns the required generalised eigenvector.
Georgi N. Boshnakov
boshnakov2002mcmcompanion
v1 <- make_mcev(0.5, c(1, 1), dim = 4)
v1
make_mcev(0.5, c(1, 1), dim = 4, what.co = "top")
v2 <- make_mcgev(0.5, c(0, 1), v = v1, what.co = "top")
v2
make_mcgev(0.5, c(0, 1), v = v2, what.co = "top")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.