InnerEigenPackage F¶
eigen.spad line 1 [edit on github]
F: Field
This is a package for the exact computation of eigenvalues and eigenvectors. This package works for matrices with coefficients from a field over which we can factor polynomials. Eigenvalues in base field are always explicitly computed while the other are expressed in terms of their minimal polynomial.
- characteristicPolynomial: Matrix F -> SparseUnivariatePolynomial F
characteristicPolynomial(m)
returns the characteristic polynomial of the matrixm
- eigenvalues: (Matrix F, SparseUnivariatePolynomial F -> Factored SparseUnivariatePolynomial F) -> List Union(F, SparseUnivariatePolynomial F)
eigenvalues(m, fac)
returns the eigenvalues of the matrixm
. Eigenvalues in base field are given explicitly, other are represented by minimal polynomial. fac is a factorizer for polynomials overF
.
- eigenvalues: Matrix F -> List Union(F, SparseUnivariatePolynomial F) if F has PolynomialFactorizationExplicit
eigenvalues(m)
returns the eigenvalues of the matrixm
.
- eigenvector: (Union(F, SparseUnivariatePolynomial F), Matrix F) -> List Vector SparseUnivariatePolynomial F
eigenvector(eigval, m)
returns the eigenvectors belonging to the eigenvalueeigval
for the matrixm
.
- eigenvectors: (Matrix F, SparseUnivariatePolynomial F -> Factored SparseUnivariatePolynomial F) -> List Record(eigval: Union(F, SparseUnivariatePolynomial F), eigmult: NonNegativeInteger, eigvec: List Vector SparseUnivariatePolynomial F)
eigenvectors(m, fac)
returns the eigenvalues and eigenvectors for the matrixm
. The eigenvalues in base field and corresponding eigenvectors are explicitly computed, while the other eigenvalues are given via their minimal polynomial and the corresponding eigenvectors are expressed in terms of a “generic” root of such a polynomial. fac is a factorizer for polynomials overF
.
- eigenvectors: Matrix F -> List Record(eigval: Union(F, SparseUnivariatePolynomial F), eigmult: NonNegativeInteger, eigvec: List Vector SparseUnivariatePolynomial F) if F has PolynomialFactorizationExplicit
eigenvectors(m)
returns the eigenvalues and eigenvectors for the matrixm
. The eigenvalues in base field and corresponding eigenvectors are explicitly computed, while the non rational ones are given via their minimal polynomial and the corresponding eigenvectors are expressed in terms of a “generic” root of such a polynomial.
- generalizedEigenvector: (Record(eigval: Union(F, SparseUnivariatePolynomial F), eigmult: NonNegativeInteger, eigvec: List Vector SparseUnivariatePolynomial F), Matrix F) -> List Vector SparseUnivariatePolynomial F
generalizedEigenvector(eigen, m)
returns the generalized eigenvectors of the matrix relative to the eigenvalueeigen
, as returned by the function eigenvectors.
- generalizedEigenvector: (Union(F, SparseUnivariatePolynomial F), Matrix F, NonNegativeInteger, NonNegativeInteger) -> List Vector SparseUnivariatePolynomial F
generalizedEigenvector(alpha, m, k, g)
returns the generalized eigenvectors of the matrix relative to the eigenvaluealpha
. The integersk
andg
are respectively the algebraic and the geometric multiplicity of the eigenvaluealpha
.
- generalizedEigenvectors: (Matrix F, SparseUnivariatePolynomial F -> Factored SparseUnivariatePolynomial F) -> List Record(eigval: Union(F, SparseUnivariatePolynomial F), geneigvec: List Vector SparseUnivariatePolynomial F)
generalizedEigenvectors(m, fac)
returns the generalized eigenvectors of the matrixm
. fac is a factorizer for polynomials overF
.
- generalizedEigenvectors: Matrix F -> List Record(eigval: Union(F, SparseUnivariatePolynomial F), geneigvec: List Vector SparseUnivariatePolynomial F) if F has PolynomialFactorizationExplicit
generalizedEigenvectors(m)
returns the generalized eigenvectors of the matrixm
.