Created
May 24, 2012 13:44
-
-
Save OpenGamma-Blog/2781621 to your computer and use it in GitHub Desktop.
JNA Example 1 - OpenGamma
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// interface for LAPACK via JNA | |
public interface LAPACKLibrary extends Library { | |
LAPACKLibrary INSTANCE = (LAPACKLibrary) | |
Native.loadLibrary("liblapack.so",LAPACKLibrary.class); | |
LAPACKLibrary SYNC_INSTANCE = (LAPACKLibrary) Native.synchronizedLibrary(INSTANCE); | |
void dgemv_(...); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment