0

我需要为我的Android应用程序使用矩阵指数函数。我使用了图书馆jblas (jblas.org)。但它返回以下错误并且应用程序崩溃!

java.lang.UnsatisfiedLinkError: No implementation found for void         
org.jblas.NativeBlas.dgemm(char, char, int, int, int, double, double[], 
int, int, double[], int, int, double, double[], int, int) (tried 
Java_org_jblas_NativeBlas_dgemm and 
Java_org_jblas_NativeBlas_dgemm__CCIIID_3DII_3DIID_3DII)
        at org.jblas.NativeBlas.dgemm(Native Method)
        at org.jblas.SimpleBlas.gemm(SimpleBlas.java:247)
        at org.jblas.DoubleMatrix.mmuli(DoubleMatrix.java:1781)
        at org.jblas.DoubleMatrix.mmul(DoubleMatrix.java:3138)
        at org.jblas.MatrixFunctions.expm(MatrixFunctions.java:428)
4

1 回答 1

0

尝试以下步骤来获取jblas的 Android 版本:

  1. 查看jblas的源代码:https ://github.com/mikiobraun/jblas
  2. 使用Android CMake工具链重新编译c源代码:https ://github.com/mikiobraun/jblas/tree/master/src/main/c。您将获得所需的共享库,例如arm64-v8ax86x86_64
于 2018-11-19T02:59:09.723 回答