characteristicPolynomial abstract method
The characteristic polynomial can only be computed if the matrix is square, meaning that it must have the same number of columns and rows.
The roots of the characteristic polynomial are the eigenvalues of the matrix.
If you want to find the eigenvalues of a matrix, you can compute the
characteristic polynomial and solve the polynomial equation. However, for
5x5 or bigger matrices, consider using the eigenValues()
method which is
faster and more accurate.
Implementation
Algebraic characteristicPolynomial();