Lines Matching defs:matrix
747 double *matrix;
786 * if given matrix array is too short, we can't handle it
791 matrix = (*env)->GetPrimitiveArrayCritical(env, jmatrix, NULL);
792 if (matrix == NULL) {
798 printf("matrix is %g %g %g %g %g %g\n", matrix[0], matrix[1],
799 matrix[2], matrix[3], matrix[4], matrix[5]);
802 mtx[0] = matrix[0];
803 mtx[1] = matrix[2];
804 mtx[2] = matrix[4];
805 mtx[3] = matrix[1];
806 mtx[4] = matrix[3];
807 mtx[5] = matrix[5];
809 (*env)->ReleasePrimitiveArrayCritical(env, jmatrix, matrix, JNI_ABORT);
955 double *matrix;
1002 * if given matrix array is too short, we can't handle it.
1009 matrix = (*env)->GetPrimitiveArrayCritical(env, jmatrix, NULL);
1010 if (matrix == NULL) {
1018 printf("matrix is %g %g %g %g %g %g\n", matrix[0], matrix[1],
1019 matrix[2], matrix[3], matrix[4], matrix[5]);
1022 mtx[0] = matrix[0];
1023 mtx[1] = matrix[2];
1024 mtx[2] = matrix[4];
1025 mtx[3] = matrix[1];
1026 mtx[4] = matrix[3];
1027 mtx[5] = matrix[5];
1029 (*env)->ReleasePrimitiveArrayCritical(env, jmatrix, matrix, JNI_ABORT);