Package com.polytechnik.utils
Interface ConfederateMatrixCalculatable
- All Known Subinterfaces:
BasisFunctionsCalculatable
,BasisPolynomials
,SimpleBasisPolynomials
- All Known Implementing Classes:
Chebyshev
,HermiteE
,Laguerre
,Legendre
,LegendreShifted
,Monomials
,RecurrenceAB
,RecurrenceABWithMultiplicationCached
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Get confederate matrix.
-
Method Summary
Modifier and TypeMethodDescriptiondouble[]
getConfederateMatrix
(double[] coefs) Calculates confederate matrix to solve polynomial equations in basis directly.
-
Method Details
-
getConfederateMatrix
double[] getConfederateMatrix(double[] coefs) Calculates confederate matrix to solve polynomial equations in basis directly. The leading dimension of returned matrix is coefs.length-1, the number of elements (coefs.length-1)^2. Eigenvalues of confederate matrix are the roots. See: Tom Bella, Y.Eidelman, I.Gohberg, V.Olshevsky, E.Tyrtyshnikov, "Fast inversion of Hessenberg-quasiseparable-Vandermonde matrices and resulting recurrence relations and characterizations", March 2007. http://www.math.uconn.edu/~olshevsky/papers/traubqs2_tb36.pdf Use the classPolynomialRootsConfederateMatrix
to calculate the roots.
-