characteristicPolynomial abstract method

Algebraic characteristicPolynomial()

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.

A MatrixException object is thrown if the matrix isn't square.

Implementation

Algebraic characteristicPolynomial();