InnerNumericEigenPackage(K, F, Par)ΒΆ
numeigen.spad line 1 [edit on github]
K: Field
F: Field
Par: Join(Field, OrderedRing)
This package is the inner package to be used by NumericRealEigenPackage and NumericComplexEigenPackage for the computation of numeric eigenvalues and eigenvectors.
- charpol: Matrix K -> SparseUnivariatePolynomial K
charpol(m)
computes the characteristic polynomial of a matrixm
with entries inK
.
- innerEigenvectors: (Matrix K, Par, SparseUnivariatePolynomial K -> Factored SparseUnivariatePolynomial K) -> List Record(outval: F, outmult: Integer, outvect: List Matrix F)
innerEigenvectors(m, eps, factor)
computes explicitly the eigenvalues and the correspondent eigenvectors of the matrixm
. The parametereps
determines the type of the output, factor is the univariate factorizer used to reduce the characteristic polynomial into irreducible factors.
- solve1: (SparseUnivariatePolynomial K, Par) -> List F
solve1(pol, eps)
finds the roots of the univariate polynomial polynomialpol
to precision eps. IfK
isFraction Integer
then only the real roots are returned, ifK
isComplex Fraction Integer
then all roots are found.