double [][] AdjacencyMat = new double[baseSize][baseSize];
for (int i = 0; i < baseSize; ++i)
{
for (int j =0; j < baseSize; ++j)
{
AdjacencyMat[i][j] = 0;
}
}
DoubleMatrix matrix = new DoubleMatrix(AdjacencyMat);
私は行列演算のために JBLAS を試みています。次のコードでは、取得してArrayIndexOutOfBoundsException
います。
java.lang.ArrayIndexOutOfBoundsException: 0
at org.jblas.DoubleMatrix.<init>(DoubleMatrix.java:370)
私が間違っていることは何ですか?どんな助けでも大歓迎です。