Package com.polytechnik.lapack
Class Eigenvalues_JNI_lapacke
java.lang.Object
com.polytechnik.lapack.Eigenvalues_JNI_lapacke
Eigenvectors problem. Direct JNI C-calls to lapacke.
To compile:
javac -g -h com/polytechnik/lapack/ com/polytechnik/lapack/Eigenvalues_JNI_lapacke.java
x="`java -XshowSettings:properties -version 2>&1| sed -nE 's/^\s*java.home = //p'`/"
gcc -Wall -fPIC -I. -I"$x/include" -I"$x/include/linux" -shared -o com/polytechnik/lapack/libEigenvalues_JNI_lapacke.so com/polytechnik/lapack/Eigenvalues_JNI_lapacke.c -llapacke
java -Djava.library.path=com/polytechnik/lapack/ com/polytechnik/lapack/Eigenvalues_JNI_lapacke
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic double[]
getEV_dsyevx
(int n, double[] matr, int lda_matr, 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) static int
getNonSymEV_dgees
(int n, double[] matr, int lda_matr, double[] wr, double[] wi) static void
-
Constructor Details
-
Eigenvalues_JNI_lapacke
public Eigenvalues_JNI_lapacke()
-
-
Method Details
-
getEV_dsyevx
public static double[] getEV_dsyevx(int n, double[] matr, int lda_matr, 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) -
getGEV_dsygvx
public static double[] getGEV_dsygvx(int n, double[] A, int lda_A, double[] B, int lda_B, boolean flag_ev) -
getNonSymEV_dgees
public static int getNonSymEV_dgees(int n, double[] matr, int lda_matr, double[] wr, double[] wi) -
main
-