Jampack
Class Eig
- java.lang.Object
-
- Jampack.Eig
-
public class Eig extends java.lang.ObjectEig implements the eigenvalue-vector decomposition of of a square matrix. Specifically given a diagonalizable matrix A, there is a matrix nonsingular matrix X such thatD = X-1 AXis diagonal. The columns of X are eigenvectors of A corresponding to the diagonal elements of D. Eig implements X as a Zmat and D as a Zdiagmat.Warning: if A is defective rounding error will allow Eig to compute a set of eigevectors. However, the matrix X will be ill conditioned.
-
-
Field Detail
-
X
public Zmat X
The matrix of eigevectors
-
D
public Zdiagmat D
The diagonal matrix of eigenvalues
-
-
Constructor Detail
-
Eig
public Eig(Zmat A) throws JampackException
Creates an eigenvalue-vector decomposition of a square matrix A.- Parameters:
A- The matrix whose decomposition is to be computed- Throws:
JampackException- Thrown if A is not square.
Passed from below.
-
-
DMelt 3.0 © DataMelt by jWork.ORG