Package com.polytechnik.lapack
Class Eigenvalues
java.lang.Object
com.polytechnik.lapack.Eigenvalues
Eigenvectors problem. Call Lapack converted to java. Possible conversion problems.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic double[]
getEV_dsyevr
(int n, double[] matr, int lda_matr, boolean flag_ev) First n element -eigenvalues, if eigenvectors are required, then n eigenvectors follow.static double[]
getEV_dsyevx
(int n, double[] matr, int lda_matr, boolean flag_ev) First n element -eigenvalues, if eigenvectors are required, then n eigenvectors follow.static double[]
getEV3_dstebz
(int n, double[] diag, int diag_off, double[] offdiag, int offdiag_off, boolean flag_ev) static double[]
getEV3_dstemr
(int n, double[] diag, int diag_off, double[] offdiag, int offdiag_off, boolean flag_ev) static double[]
getGEV_dsygvx
(int n, double[] A, int lda_A, double[] B, int lda_B, boolean flag_ev) Generalized eigenvalues.static double[]
getGEV_dsygvx_dsyevr
(int n, double[] A, int lda_A, double[] B, int lda_B, boolean flag_ev) Generalized eigenvalues.static int
getNonSymEV_dgees
(int n, double[] matr, int lda_matr, double[] wr, double[] wi) Calls Dgees.dgees to calculate eigenvalues of non-symmetric matrix.static void
-
Constructor Details
-
Eigenvalues
public Eigenvalues()
-
-
Method Details
-
getEV3_dstebz
public static double[] getEV3_dstebz(int n, double[] diag, int diag_off, double[] offdiag, int offdiag_off, boolean flag_ev) -
getEV3_dstemr
public static double[] getEV3_dstemr(int n, double[] diag, int diag_off, double[] offdiag, int offdiag_off, boolean flag_ev) -
getEV_dsyevx
public static double[] getEV_dsyevx(int n, double[] matr, int lda_matr, boolean flag_ev) First n element -eigenvalues, if eigenvectors are required, then n eigenvectors follow. -
getEV_dsyevr
public static double[] getEV_dsyevr(int n, double[] matr, int lda_matr, boolean flag_ev) First n element -eigenvalues, if eigenvectors are required, then n eigenvectors follow. -
getGEV_dsygvx
public static double[] getGEV_dsygvx(int n, double[] A, int lda_A, double[] B, int lda_B, boolean flag_ev) Generalized eigenvalues. First n element -eigenvalues, if eigenvectors are required, then n eigenvectors follow. -
getGEV_dsygvx_dsyevr
public static double[] getGEV_dsygvx_dsyevr(int n, double[] A, int lda_A, double[] B, int lda_B, boolean flag_ev) Generalized eigenvalues.- Returns:
- First n element -eigenvalues, if eigenvectors are required, then n eigenvectors follow.
-
getNonSymEV_dgees
public static int getNonSymEV_dgees(int n, double[] matr, int lda_matr, double[] wr, double[] wi) Calls Dgees.dgees to calculate eigenvalues of non-symmetric matrix.- Parameters:
n
- Dimension.matr
- Matrix, on exit matr is clobbered.lda_matr
- Leading dimension of matr.wr
- [n] Real part of eigenvalues.wi
- [n] Imaginary part of eigenvalues.- Returns:
- error code, equal to 0 if success.
-
main
-