get_eigschur.spectral | R Documentation |
Get the Schur product between eigen-projectors based on the representation of a
Hermitian Matrix given by class spectral
.
## S3 method for class 'spectral'
get_eigschur(object, id1, id2 = NULL, ...)
object |
an instance of class |
id1 |
index for the first eigenspace according to the ordered (decreasing) spectra. |
id2 |
index for the second eigenspace according to the ordered (decreasing) spectra. If not provided,
it takes the same value as |
... |
further arguments passed to or from other methods. |
The Schur product of the corresponding eigenprojectors, E_{id_1} \circ E_{id_2}
.
spectral()
, get_eigschur()
# Spectra is {2, -1} with multiplicities one and two respectively.
decomp <- spectral(matrix(c(0,1,1,1,0,1,1,1,0), nrow=3))
# Returns the Schur product between the 2-projector and -1-projector.
get_eigschur(decomp, id1=2, id2=1)
# Returns the Schur square of the 2-projector.
get_eigschur(decomp, id1=1, id2=1)
# Also returns the Schur square of the 2-projector
get_eigschur(decomp, id1=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.