41#define SIMPLE_UOP(OPER) \
42 G4ErrorMatrixIter a = m.begin(); \
43 G4ErrorMatrixIter e = m.end(); \
47#define SIMPLE_BOP(OPER) \
48 G4ErrorMatrixIter a = m.begin(); \
49 G4ErrorMatrixConstIter b = mat2.m.begin(); \
50 G4ErrorMatrixIter e = m.end(); \
51 for(; a != e; a++, b++) \
54#define SIMPLE_TOP(OPER) \
55 G4ErrorMatrixConstIter a = mat1.m.begin(); \
56 G4ErrorMatrixConstIter b = mat2.m.begin(); \
57 G4ErrorMatrixIter t = mret.m.begin(); \
58 G4ErrorMatrixConstIter e = mat1.m.end(); \
59 for(; a != e; a++, b++, t++) \
64#define CHK_DIM_2(r1, r2, c1, c2, fun) \
65 if(r1 != r2 || c1 != c2) \
67 G4ErrorMatrix::error("Range error in Matrix function " #fun "(1)."); \
70#define CHK_DIM_1(c1, r2, fun) \
73 G4ErrorMatrix::error("Range error in Matrix function " #fun "(2)."); \
106 for(; a < b; a += (ncol + 1))
111 error(
"Invalid dimension in G4ErrorMatrix(G4int,G4int,1).");
116 error(
"G4ErrorMatrix: initialization must be either 0 or 1.");
136 : m(mat1.nrow * mat1.nrow)
147 for(
G4int j = 1; j <= nrow; j++)
151 for(
G4int k = 1; k <= j; k++)
173 G4ErrorMatrix mret(max_row - min_row + 1, max_col - min_col + 1);
176 error(
"G4ErrorMatrix::sub: Index out of range");
199 error(
"G4ErrorMatrix::sub: Index out of range");
224 mret.
sub(1, 1, mat1);
240 for(; a < e; a++, b++)
297 G4int m1cols = mat1.ncol;
298 G4int m2cols = mat2.ncol;
300 for(
G4int i = 0; i < mat1.nrow; i++)
302 for(
G4int j = 0; j < m1cols; j++)
304 G4double temp = mat1.m[i * m1cols + j];
312 (*pt) += temp * (*pb);
358 if(mat1.nrow * mat1.ncol != size)
360 size = mat1.nrow * mat1.ncol;
379 if(os.flags() & std::ios::fixed)
381 width = os.precision() + 3;
385 width = os.precision() + 7;
392 os << q(irow, icol) <<
" ";
406 for(; pme < pl; pme++, pt += nrow)
426 *(b++) = (*f)(*(a++), ir, ic);
436 error(
"dfinv_matrix: G4ErrorMatrix is not NxN");
451 *m21 = -(*m22) * (*m11) * (*m21);
458 for(
G4int i = 3; i <=
n; i++)
464 for(
G4int j = 1; j <= im2; j++)
472 for(
G4int k = j; k <= im2; k++)
474 s31 += (*mkj) * (*(mik++));
475 s32 += (*(mjkp++)) * (*mkpi);
479 *mij = -(*mii) * (((*(mij -
n))) * ((*(mii - 1))) + (s31));
485 *(mii - 1) = -(*mii) * (*mimim) * (*(mii - 1));
486 *(mimim + 1) = -(*(mimim + 1));
494 for(
G4int i = 1; i <
n; i++)
499 for(j = 1; j <= i; j++)
505 for(; miik < min_end;)
507 s33 += (*mikj) * (*(miik++));
512 for(j = 1; j <= ni; j++)
517 for(
G4int k = j; k <= ni; k++)
519 s34 += *mikij * (*(miik++));
530 for(
G4int mq = 1; mq <= nxch; mq++)
532 G4int k = nxch - mq + 1;
538 for(k = 1; k <=
n; k++)
555 error(
"dfact_matrix: G4ErrorMatrix is not NxN");
571 G4int normal = 0, imposs = -1;
572 G4int jrange = 0, jover = 1, junder = -1;
579 for(
G4int j = 1; j <=
n; j++)
582 p = (std::fabs(*mjj));
586 for(
G4int i = j + 1; i <=
n; i++)
588 q = (std::fabs(*(mij)));
610 for(
G4int l = 1; l <=
n; l++)
617 ir[nxch] = (((j) << 12) + (k));
631 t = (std::fabs(det));
649 for(k = j + 1; k <=
n; k++)
659 for(
G4int i = 1; i < j; i++)
661 s11 += (*mik) * (*(mji++));
662 s12 += (*mijp) * (*(mki++));
667 *(mjk++) = -s11 * (*mjj);
668 *(mkjp) = -(((*(mjj + 1))) * ((*(mkjp - 1))) + (s12));
688 error(
"G4ErrorMatrix::invert: G4ErrorMatrix is not NxN");
694 ir =
new G4int[max_array + 1];
700 ir =
new G4int[max_array + 1];
708 G4double c11, c12, c13, c21, c22, c23, c31, c32, c33;
710 c11 = (*(m.begin() + 4)) * (*(m.begin() + 8)) -
711 (*(m.begin() + 5)) * (*(m.begin() + 7));
712 c12 = (*(m.begin() + 5)) * (*(m.begin() + 6)) -
713 (*(m.begin() + 3)) * (*(m.begin() + 8));
714 c13 = (*(m.begin() + 3)) * (*(m.begin() + 7)) -
715 (*(m.begin() + 4)) * (*(m.begin() + 6));
716 c21 = (*(m.begin() + 7)) * (*(m.begin() + 2)) -
717 (*(m.begin() + 8)) * (*(m.begin() + 1));
718 c22 = (*(m.begin() + 8)) * (*m.begin()) -
719 (*(m.begin() + 6)) * (*(m.begin() + 2));
720 c23 = (*(m.begin() + 6)) * (*(m.begin() + 1)) -
721 (*(m.begin() + 7)) * (*m.begin());
722 c31 = (*(m.begin() + 1)) * (*(m.begin() + 5)) -
723 (*(m.begin() + 2)) * (*(m.begin() + 4));
724 c32 = (*(m.begin() + 2)) * (*(m.begin() + 3)) -
725 (*m.begin()) * (*(m.begin() + 5));
726 c33 = (*m.begin()) * (*(m.begin() + 4)) -
727 (*(m.begin() + 1)) * (*(m.begin() + 3));
728 t1 = std::fabs(*m.begin());
729 t2 = std::fabs(*(m.begin() + 3));
730 t3 = std::fabs(*(m.begin() + 6));
735 temp = *(m.begin() + 6);
736 det = c23 * c12 - c22 * c13;
741 det = c22 * c33 - c23 * c32;
746 temp = *(m.begin() + 6);
747 det = c23 * c12 - c22 * c13;
751 temp = *(m.begin() + 3);
752 det = c13 * c32 - c12 * c33;
775 det = (*m.begin()) * (*(m.begin() + 3)) -
776 (*(m.begin() + 1)) * (*(m.begin() + 2));
783 temp = ss * (*(m.begin() + 3));
784 *(m.begin() + 1) *= -ss;
785 *(m.begin() + 2) *= -ss;
786 *(m.begin() + 3) = ss * (*m.begin());
791 if((*(m.begin())) == 0)
796 *(m.begin()) = 1.0 / (*(m.begin()));
808 ifail = dfact_matrix(det, ir);
826 ir =
new G4int[max_array + 1];
829 error(
"G4ErrorMatrix::determinant: G4ErrorMatrix is not NxN");
835 ir =
new G4int[max_array + 1];
839 G4int i = mt.dfact_matrix(det, ir);
857 std::ostringstream message;
860 message,
"Exiting to System.");
987 m[
F00] * Det2_12_12 - m[
F01] * Det2_12_02 + m[
F02] * Det2_12_01;
989 m[
F00] * Det2_12_13 - m[
F01] * Det2_12_03 + m[
F03] * Det2_12_01;
991 m[
F00] * Det2_12_23 - m[
F02] * Det2_12_03 + m[
F03] * Det2_12_02;
993 m[
F01] * Det2_12_23 - m[
F02] * Det2_12_13 + m[
F03] * Det2_12_12;
995 m[
F00] * Det2_13_12 - m[
F01] * Det2_13_02 + m[
F02] * Det2_13_01;
997 m[
F00] * Det2_13_13 - m[
F01] * Det2_13_03 + m[
F03] * Det2_13_01;
999 m[
F00] * Det2_13_23 - m[
F02] * Det2_13_03 + m[
F03] * Det2_13_02;
1001 m[
F01] * Det2_13_23 - m[
F02] * Det2_13_13 + m[
F03] * Det2_13_12;
1003 m[
F00] * Det2_23_12 - m[
F01] * Det2_23_02 + m[
F02] * Det2_23_01;
1005 m[
F00] * Det2_23_13 - m[
F01] * Det2_23_03 + m[
F03] * Det2_23_01;
1007 m[
F00] * Det2_23_23 - m[
F02] * Det2_23_03 + m[
F03] * Det2_23_02;
1009 m[
F01] * Det2_23_23 - m[
F02] * Det2_23_13 + m[
F03] * Det2_23_12;
1011 m[
F10] * Det2_23_12 - m[
F11] * Det2_23_02 + m[
F12] * Det2_23_01;
1013 m[
F10] * Det2_23_13 - m[
F11] * Det2_23_03 + m[
F13] * Det2_23_01;
1015 m[
F10] * Det2_23_23 - m[
F12] * Det2_23_03 + m[
F13] * Det2_23_02;
1017 m[
F11] * Det2_23_23 - m[
F12] * Det2_23_13 + m[
F13] * Det2_23_12;
1022 m[
F02] * Det3_123_013 - m[
F03] * Det3_123_012;
1033 m[
F00] = Det3_123_123 * oneOverDet;
1034 m[
F01] = Det3_023_123 * mn1OverDet;
1035 m[
F02] = Det3_013_123 * oneOverDet;
1036 m[
F03] = Det3_012_123 * mn1OverDet;
1038 m[
F10] = Det3_123_023 * mn1OverDet;
1039 m[
F11] = Det3_023_023 * oneOverDet;
1040 m[
F12] = Det3_013_023 * mn1OverDet;
1041 m[
F13] = Det3_012_023 * oneOverDet;
1043 m[
F20] = Det3_123_013 * oneOverDet;
1044 m[
F21] = Det3_023_013 * mn1OverDet;
1045 m[
F22] = Det3_013_013 * oneOverDet;
1046 m[
F23] = Det3_012_013 * mn1OverDet;
1048 m[
F30] = Det3_123_012 * mn1OverDet;
1049 m[
F31] = Det3_023_012 * oneOverDet;
1050 m[
F32] = Det3_013_012 * mn1OverDet;
1051 m[
F33] = Det3_012_012 * oneOverDet;
1096 m[
M10] * Det2_23_12 - m[
M11] * Det2_23_02 + m[
M12] * Det2_23_01;
1098 m[
M10] * Det2_23_13 - m[
M11] * Det2_23_03 + m[
M13] * Det2_23_01;
1100 m[
M10] * Det2_23_14 - m[
M11] * Det2_23_04 + m[
M14] * Det2_23_01;
1102 m[
M10] * Det2_23_23 - m[
M12] * Det2_23_03 + m[
M13] * Det2_23_02;
1104 m[
M10] * Det2_23_24 - m[
M12] * Det2_23_04 + m[
M14] * Det2_23_02;
1106 m[
M10] * Det2_23_34 - m[
M13] * Det2_23_04 + m[
M14] * Det2_23_03;
1108 m[
M11] * Det2_23_23 - m[
M12] * Det2_23_13 + m[
M13] * Det2_23_12;
1110 m[
M11] * Det2_23_24 - m[
M12] * Det2_23_14 + m[
M14] * Det2_23_12;
1112 m[
M11] * Det2_23_34 - m[
M13] * Det2_23_14 + m[
M14] * Det2_23_13;
1114 m[
M12] * Det2_23_34 - m[
M13] * Det2_23_24 + m[
M14] * Det2_23_23;
1116 m[
M10] * Det2_24_12 - m[
M11] * Det2_24_02 + m[
M12] * Det2_24_01;
1118 m[
M10] * Det2_24_13 - m[
M11] * Det2_24_03 + m[
M13] * Det2_24_01;
1120 m[
M10] * Det2_24_14 - m[
M11] * Det2_24_04 + m[
M14] * Det2_24_01;
1122 m[
M10] * Det2_24_23 - m[
M12] * Det2_24_03 + m[
M13] * Det2_24_02;
1124 m[
M10] * Det2_24_24 - m[
M12] * Det2_24_04 + m[
M14] * Det2_24_02;
1126 m[
M10] * Det2_24_34 - m[
M13] * Det2_24_04 + m[
M14] * Det2_24_03;
1128 m[
M11] * Det2_24_23 - m[
M12] * Det2_24_13 + m[
M13] * Det2_24_12;
1130 m[
M11] * Det2_24_24 - m[
M12] * Det2_24_14 + m[
M14] * Det2_24_12;
1132 m[
M11] * Det2_24_34 - m[
M13] * Det2_24_14 + m[
M14] * Det2_24_13;
1134 m[
M12] * Det2_24_34 - m[
M13] * Det2_24_24 + m[
M14] * Det2_24_23;
1136 m[
M10] * Det2_34_12 - m[
M11] * Det2_34_02 + m[
M12] * Det2_34_01;
1138 m[
M10] * Det2_34_13 - m[
M11] * Det2_34_03 + m[
M13] * Det2_34_01;
1140 m[
M10] * Det2_34_14 - m[
M11] * Det2_34_04 + m[
M14] * Det2_34_01;
1142 m[
M10] * Det2_34_23 - m[
M12] * Det2_34_03 + m[
M13] * Det2_34_02;
1144 m[
M10] * Det2_34_24 - m[
M12] * Det2_34_04 + m[
M14] * Det2_34_02;
1146 m[
M10] * Det2_34_34 - m[
M13] * Det2_34_04 + m[
M14] * Det2_34_03;
1148 m[
M11] * Det2_34_23 - m[
M12] * Det2_34_13 + m[
M13] * Det2_34_12;
1150 m[
M11] * Det2_34_24 - m[
M12] * Det2_34_14 + m[
M14] * Det2_34_12;
1152 m[
M11] * Det2_34_34 - m[
M13] * Det2_34_14 + m[
M14] * Det2_34_13;
1154 m[
M12] * Det2_34_34 - m[
M13] * Det2_34_24 + m[
M14] * Det2_34_23;
1156 m[
M20] * Det2_34_12 - m[
M21] * Det2_34_02 + m[
M22] * Det2_34_01;
1158 m[
M20] * Det2_34_13 - m[
M21] * Det2_34_03 + m[
M23] * Det2_34_01;
1160 m[
M20] * Det2_34_14 - m[
M21] * Det2_34_04 + m[
M24] * Det2_34_01;
1162 m[
M20] * Det2_34_23 - m[
M22] * Det2_34_03 + m[
M23] * Det2_34_02;
1164 m[
M20] * Det2_34_24 - m[
M22] * Det2_34_04 + m[
M24] * Det2_34_02;
1166 m[
M20] * Det2_34_34 - m[
M23] * Det2_34_04 + m[
M24] * Det2_34_03;
1168 m[
M21] * Det2_34_23 - m[
M22] * Det2_34_13 + m[
M23] * Det2_34_12;
1170 m[
M21] * Det2_34_24 - m[
M22] * Det2_34_14 + m[
M24] * Det2_34_12;
1172 m[
M21] * Det2_34_34 - m[
M23] * Det2_34_14 + m[
M24] * Det2_34_13;
1174 m[
M22] * Det2_34_34 - m[
M23] * Det2_34_24 + m[
M24] * Det2_34_23;
1178 G4double Det4_0123_0123 = m[
M00] * Det3_123_123 - m[
M01] * Det3_123_023 +
1179 m[
M02] * Det3_123_013 - m[
M03] * Det3_123_012;
1180 G4double Det4_0123_0124 = m[
M00] * Det3_123_124 - m[
M01] * Det3_123_024 +
1181 m[
M02] * Det3_123_014 - m[
M04] * Det3_123_012;
1182 G4double Det4_0123_0134 = m[
M00] * Det3_123_134 - m[
M01] * Det3_123_034 +
1183 m[
M03] * Det3_123_014 - m[
M04] * Det3_123_013;
1184 G4double Det4_0123_0234 = m[
M00] * Det3_123_234 - m[
M02] * Det3_123_034 +
1185 m[
M03] * Det3_123_024 - m[
M04] * Det3_123_023;
1186 G4double Det4_0123_1234 = m[
M01] * Det3_123_234 - m[
M02] * Det3_123_134 +
1187 m[
M03] * Det3_123_124 - m[
M04] * Det3_123_123;
1188 G4double Det4_0124_0123 = m[
M00] * Det3_124_123 - m[
M01] * Det3_124_023 +
1189 m[
M02] * Det3_124_013 - m[
M03] * Det3_124_012;
1190 G4double Det4_0124_0124 = m[
M00] * Det3_124_124 - m[
M01] * Det3_124_024 +
1191 m[
M02] * Det3_124_014 - m[
M04] * Det3_124_012;
1192 G4double Det4_0124_0134 = m[
M00] * Det3_124_134 - m[
M01] * Det3_124_034 +
1193 m[
M03] * Det3_124_014 - m[
M04] * Det3_124_013;
1194 G4double Det4_0124_0234 = m[
M00] * Det3_124_234 - m[
M02] * Det3_124_034 +
1195 m[
M03] * Det3_124_024 - m[
M04] * Det3_124_023;
1196 G4double Det4_0124_1234 = m[
M01] * Det3_124_234 - m[
M02] * Det3_124_134 +
1197 m[
M03] * Det3_124_124 - m[
M04] * Det3_124_123;
1198 G4double Det4_0134_0123 = m[
M00] * Det3_134_123 - m[
M01] * Det3_134_023 +
1199 m[
M02] * Det3_134_013 - m[
M03] * Det3_134_012;
1200 G4double Det4_0134_0124 = m[
M00] * Det3_134_124 - m[
M01] * Det3_134_024 +
1201 m[
M02] * Det3_134_014 - m[
M04] * Det3_134_012;
1202 G4double Det4_0134_0134 = m[
M00] * Det3_134_134 - m[
M01] * Det3_134_034 +
1203 m[
M03] * Det3_134_014 - m[
M04] * Det3_134_013;
1204 G4double Det4_0134_0234 = m[
M00] * Det3_134_234 - m[
M02] * Det3_134_034 +
1205 m[
M03] * Det3_134_024 - m[
M04] * Det3_134_023;
1206 G4double Det4_0134_1234 = m[
M01] * Det3_134_234 - m[
M02] * Det3_134_134 +
1207 m[
M03] * Det3_134_124 - m[
M04] * Det3_134_123;
1208 G4double Det4_0234_0123 = m[
M00] * Det3_234_123 - m[
M01] * Det3_234_023 +
1209 m[
M02] * Det3_234_013 - m[
M03] * Det3_234_012;
1210 G4double Det4_0234_0124 = m[
M00] * Det3_234_124 - m[
M01] * Det3_234_024 +
1211 m[
M02] * Det3_234_014 - m[
M04] * Det3_234_012;
1212 G4double Det4_0234_0134 = m[
M00] * Det3_234_134 - m[
M01] * Det3_234_034 +
1213 m[
M03] * Det3_234_014 - m[
M04] * Det3_234_013;
1214 G4double Det4_0234_0234 = m[
M00] * Det3_234_234 - m[
M02] * Det3_234_034 +
1215 m[
M03] * Det3_234_024 - m[
M04] * Det3_234_023;
1216 G4double Det4_0234_1234 = m[
M01] * Det3_234_234 - m[
M02] * Det3_234_134 +
1217 m[
M03] * Det3_234_124 - m[
M04] * Det3_234_123;
1218 G4double Det4_1234_0123 = m[
M10] * Det3_234_123 - m[
M11] * Det3_234_023 +
1219 m[
M12] * Det3_234_013 - m[
M13] * Det3_234_012;
1220 G4double Det4_1234_0124 = m[
M10] * Det3_234_124 - m[
M11] * Det3_234_024 +
1221 m[
M12] * Det3_234_014 - m[
M14] * Det3_234_012;
1222 G4double Det4_1234_0134 = m[
M10] * Det3_234_134 - m[
M11] * Det3_234_034 +
1223 m[
M13] * Det3_234_014 - m[
M14] * Det3_234_013;
1224 G4double Det4_1234_0234 = m[
M10] * Det3_234_234 - m[
M12] * Det3_234_034 +
1225 m[
M13] * Det3_234_024 - m[
M14] * Det3_234_023;
1226 G4double Det4_1234_1234 = m[
M11] * Det3_234_234 - m[
M12] * Det3_234_134 +
1227 m[
M13] * Det3_234_124 - m[
M14] * Det3_234_123;
1231 G4double det = m[
M00] * Det4_1234_1234 - m[
M01] * Det4_1234_0234 +
1232 m[
M02] * Det4_1234_0134 - m[
M03] * Det4_1234_0124 +
1233 m[
M04] * Det4_1234_0123;
1244 m[
M00] = Det4_1234_1234 * oneOverDet;
1245 m[
M01] = Det4_0234_1234 * mn1OverDet;
1246 m[
M02] = Det4_0134_1234 * oneOverDet;
1247 m[
M03] = Det4_0124_1234 * mn1OverDet;
1248 m[
M04] = Det4_0123_1234 * oneOverDet;
1250 m[
M10] = Det4_1234_0234 * mn1OverDet;
1251 m[
M11] = Det4_0234_0234 * oneOverDet;
1252 m[
M12] = Det4_0134_0234 * mn1OverDet;
1253 m[
M13] = Det4_0124_0234 * oneOverDet;
1254 m[
M14] = Det4_0123_0234 * mn1OverDet;
1256 m[
M20] = Det4_1234_0134 * oneOverDet;
1257 m[
M21] = Det4_0234_0134 * mn1OverDet;
1258 m[
M22] = Det4_0134_0134 * oneOverDet;
1259 m[
M23] = Det4_0124_0134 * mn1OverDet;
1260 m[
M24] = Det4_0123_0134 * oneOverDet;
1262 m[
M30] = Det4_1234_0124 * mn1OverDet;
1263 m[
M31] = Det4_0234_0124 * oneOverDet;
1264 m[
M32] = Det4_0134_0124 * mn1OverDet;
1265 m[
M33] = Det4_0124_0124 * oneOverDet;
1266 m[
M34] = Det4_0123_0124 * mn1OverDet;
1268 m[
M40] = Det4_1234_0123 * oneOverDet;
1269 m[
M41] = Det4_0234_0123 * mn1OverDet;
1270 m[
M42] = Det4_0134_0123 * oneOverDet;
1271 m[
M43] = Det4_0124_0123 * mn1OverDet;
1272 m[
M44] = Det4_0123_0123 * oneOverDet;
1332 m[
A20] * Det2_34_12 - m[
A21] * Det2_34_02 + m[
A22] * Det2_34_01;
1334 m[
A20] * Det2_34_13 - m[
A21] * Det2_34_03 + m[
A23] * Det2_34_01;
1336 m[
A20] * Det2_34_14 - m[
A21] * Det2_34_04 + m[
A24] * Det2_34_01;
1338 m[
A20] * Det2_34_15 - m[
A21] * Det2_34_05 + m[
A25] * Det2_34_01;
1340 m[
A20] * Det2_34_23 - m[
A22] * Det2_34_03 + m[
A23] * Det2_34_02;
1342 m[
A20] * Det2_34_24 - m[
A22] * Det2_34_04 + m[
A24] * Det2_34_02;
1344 m[
A20] * Det2_34_25 - m[
A22] * Det2_34_05 + m[
A25] * Det2_34_02;
1346 m[
A20] * Det2_34_34 - m[
A23] * Det2_34_04 + m[
A24] * Det2_34_03;
1348 m[
A20] * Det2_34_35 - m[
A23] * Det2_34_05 + m[
A25] * Det2_34_03;
1350 m[
A20] * Det2_34_45 - m[
A24] * Det2_34_05 + m[
A25] * Det2_34_04;
1352 m[
A21] * Det2_34_23 - m[
A22] * Det2_34_13 + m[
A23] * Det2_34_12;
1354 m[
A21] * Det2_34_24 - m[
A22] * Det2_34_14 + m[
A24] * Det2_34_12;
1356 m[
A21] * Det2_34_25 - m[
A22] * Det2_34_15 + m[
A25] * Det2_34_12;
1358 m[
A21] * Det2_34_34 - m[
A23] * Det2_34_14 + m[
A24] * Det2_34_13;
1360 m[
A21] * Det2_34_35 - m[
A23] * Det2_34_15 + m[
A25] * Det2_34_13;
1362 m[
A21] * Det2_34_45 - m[
A24] * Det2_34_15 + m[
A25] * Det2_34_14;
1364 m[
A22] * Det2_34_34 - m[
A23] * Det2_34_24 + m[
A24] * Det2_34_23;
1366 m[
A22] * Det2_34_35 - m[
A23] * Det2_34_25 + m[
A25] * Det2_34_23;
1368 m[
A22] * Det2_34_45 - m[
A24] * Det2_34_25 + m[
A25] * Det2_34_24;
1370 m[
A23] * Det2_34_45 - m[
A24] * Det2_34_35 + m[
A25] * Det2_34_34;
1372 m[
A20] * Det2_35_12 - m[
A21] * Det2_35_02 + m[
A22] * Det2_35_01;
1374 m[
A20] * Det2_35_13 - m[
A21] * Det2_35_03 + m[
A23] * Det2_35_01;
1376 m[
A20] * Det2_35_14 - m[
A21] * Det2_35_04 + m[
A24] * Det2_35_01;
1378 m[
A20] * Det2_35_15 - m[
A21] * Det2_35_05 + m[
A25] * Det2_35_01;
1380 m[
A20] * Det2_35_23 - m[
A22] * Det2_35_03 + m[
A23] * Det2_35_02;
1382 m[
A20] * Det2_35_24 - m[
A22] * Det2_35_04 + m[
A24] * Det2_35_02;
1384 m[
A20] * Det2_35_25 - m[
A22] * Det2_35_05 + m[
A25] * Det2_35_02;
1386 m[
A20] * Det2_35_34 - m[
A23] * Det2_35_04 + m[
A24] * Det2_35_03;
1388 m[
A20] * Det2_35_35 - m[
A23] * Det2_35_05 + m[
A25] * Det2_35_03;
1390 m[
A20] * Det2_35_45 - m[
A24] * Det2_35_05 + m[
A25] * Det2_35_04;
1392 m[
A21] * Det2_35_23 - m[
A22] * Det2_35_13 + m[
A23] * Det2_35_12;
1394 m[
A21] * Det2_35_24 - m[
A22] * Det2_35_14 + m[
A24] * Det2_35_12;
1396 m[
A21] * Det2_35_25 - m[
A22] * Det2_35_15 + m[
A25] * Det2_35_12;
1398 m[
A21] * Det2_35_34 - m[
A23] * Det2_35_14 + m[
A24] * Det2_35_13;
1400 m[
A21] * Det2_35_35 - m[
A23] * Det2_35_15 + m[
A25] * Det2_35_13;
1402 m[
A21] * Det2_35_45 - m[
A24] * Det2_35_15 + m[
A25] * Det2_35_14;
1404 m[
A22] * Det2_35_34 - m[
A23] * Det2_35_24 + m[
A24] * Det2_35_23;
1406 m[
A22] * Det2_35_35 - m[
A23] * Det2_35_25 + m[
A25] * Det2_35_23;
1408 m[
A22] * Det2_35_45 - m[
A24] * Det2_35_25 + m[
A25] * Det2_35_24;
1410 m[
A23] * Det2_35_45 - m[
A24] * Det2_35_35 + m[
A25] * Det2_35_34;
1412 m[
A20] * Det2_45_12 - m[
A21] * Det2_45_02 + m[
A22] * Det2_45_01;
1414 m[
A20] * Det2_45_13 - m[
A21] * Det2_45_03 + m[
A23] * Det2_45_01;
1416 m[
A20] * Det2_45_14 - m[
A21] * Det2_45_04 + m[
A24] * Det2_45_01;
1418 m[
A20] * Det2_45_15 - m[
A21] * Det2_45_05 + m[
A25] * Det2_45_01;
1420 m[
A20] * Det2_45_23 - m[
A22] * Det2_45_03 + m[
A23] * Det2_45_02;
1422 m[
A20] * Det2_45_24 - m[
A22] * Det2_45_04 + m[
A24] * Det2_45_02;
1424 m[
A20] * Det2_45_25 - m[
A22] * Det2_45_05 + m[
A25] * Det2_45_02;
1426 m[
A20] * Det2_45_34 - m[
A23] * Det2_45_04 + m[
A24] * Det2_45_03;
1428 m[
A20] * Det2_45_35 - m[
A23] * Det2_45_05 + m[
A25] * Det2_45_03;
1430 m[
A20] * Det2_45_45 - m[
A24] * Det2_45_05 + m[
A25] * Det2_45_04;
1432 m[
A21] * Det2_45_23 - m[
A22] * Det2_45_13 + m[
A23] * Det2_45_12;
1434 m[
A21] * Det2_45_24 - m[
A22] * Det2_45_14 + m[
A24] * Det2_45_12;
1436 m[
A21] * Det2_45_25 - m[
A22] * Det2_45_15 + m[
A25] * Det2_45_12;
1438 m[
A21] * Det2_45_34 - m[
A23] * Det2_45_14 + m[
A24] * Det2_45_13;
1440 m[
A21] * Det2_45_35 - m[
A23] * Det2_45_15 + m[
A25] * Det2_45_13;
1442 m[
A21] * Det2_45_45 - m[
A24] * Det2_45_15 + m[
A25] * Det2_45_14;
1444 m[
A22] * Det2_45_34 - m[
A23] * Det2_45_24 + m[
A24] * Det2_45_23;
1446 m[
A22] * Det2_45_35 - m[
A23] * Det2_45_25 + m[
A25] * Det2_45_23;
1448 m[
A22] * Det2_45_45 - m[
A24] * Det2_45_25 + m[
A25] * Det2_45_24;
1450 m[
A23] * Det2_45_45 - m[
A24] * Det2_45_35 + m[
A25] * Det2_45_34;
1452 m[
A30] * Det2_45_12 - m[
A31] * Det2_45_02 + m[
A32] * Det2_45_01;
1454 m[
A30] * Det2_45_13 - m[
A31] * Det2_45_03 + m[
A33] * Det2_45_01;
1456 m[
A30] * Det2_45_14 - m[
A31] * Det2_45_04 + m[
A34] * Det2_45_01;
1458 m[
A30] * Det2_45_15 - m[
A31] * Det2_45_05 + m[
A35] * Det2_45_01;
1460 m[
A30] * Det2_45_23 - m[
A32] * Det2_45_03 + m[
A33] * Det2_45_02;
1462 m[
A30] * Det2_45_24 - m[
A32] * Det2_45_04 + m[
A34] * Det2_45_02;
1464 m[
A30] * Det2_45_25 - m[
A32] * Det2_45_05 + m[
A35] * Det2_45_02;
1466 m[
A30] * Det2_45_34 - m[
A33] * Det2_45_04 + m[
A34] * Det2_45_03;
1468 m[
A30] * Det2_45_35 - m[
A33] * Det2_45_05 + m[
A35] * Det2_45_03;
1470 m[
A30] * Det2_45_45 - m[
A34] * Det2_45_05 + m[
A35] * Det2_45_04;
1472 m[
A31] * Det2_45_23 - m[
A32] * Det2_45_13 + m[
A33] * Det2_45_12;
1474 m[
A31] * Det2_45_24 - m[
A32] * Det2_45_14 + m[
A34] * Det2_45_12;
1476 m[
A31] * Det2_45_25 - m[
A32] * Det2_45_15 + m[
A35] * Det2_45_12;
1478 m[
A31] * Det2_45_34 - m[
A33] * Det2_45_14 + m[
A34] * Det2_45_13;
1480 m[
A31] * Det2_45_35 - m[
A33] * Det2_45_15 + m[
A35] * Det2_45_13;
1482 m[
A31] * Det2_45_45 - m[
A34] * Det2_45_15 + m[
A35] * Det2_45_14;
1484 m[
A32] * Det2_45_34 - m[
A33] * Det2_45_24 + m[
A34] * Det2_45_23;
1486 m[
A32] * Det2_45_35 - m[
A33] * Det2_45_25 + m[
A35] * Det2_45_23;
1488 m[
A32] * Det2_45_45 - m[
A34] * Det2_45_25 + m[
A35] * Det2_45_24;
1490 m[
A33] * Det2_45_45 - m[
A34] * Det2_45_35 + m[
A35] * Det2_45_34;
1494 G4double Det4_1234_0123 = m[
A10] * Det3_234_123 - m[
A11] * Det3_234_023 +
1495 m[
A12] * Det3_234_013 - m[
A13] * Det3_234_012;
1496 G4double Det4_1234_0124 = m[
A10] * Det3_234_124 - m[
A11] * Det3_234_024 +
1497 m[
A12] * Det3_234_014 - m[
A14] * Det3_234_012;
1498 G4double Det4_1234_0125 = m[
A10] * Det3_234_125 - m[
A11] * Det3_234_025 +
1499 m[
A12] * Det3_234_015 - m[
A15] * Det3_234_012;
1500 G4double Det4_1234_0134 = m[
A10] * Det3_234_134 - m[
A11] * Det3_234_034 +
1501 m[
A13] * Det3_234_014 - m[
A14] * Det3_234_013;
1502 G4double Det4_1234_0135 = m[
A10] * Det3_234_135 - m[
A11] * Det3_234_035 +
1503 m[
A13] * Det3_234_015 - m[
A15] * Det3_234_013;
1504 G4double Det4_1234_0145 = m[
A10] * Det3_234_145 - m[
A11] * Det3_234_045 +
1505 m[
A14] * Det3_234_015 - m[
A15] * Det3_234_014;
1506 G4double Det4_1234_0234 = m[
A10] * Det3_234_234 - m[
A12] * Det3_234_034 +
1507 m[
A13] * Det3_234_024 - m[
A14] * Det3_234_023;
1508 G4double Det4_1234_0235 = m[
A10] * Det3_234_235 - m[
A12] * Det3_234_035 +
1509 m[
A13] * Det3_234_025 - m[
A15] * Det3_234_023;
1510 G4double Det4_1234_0245 = m[
A10] * Det3_234_245 - m[
A12] * Det3_234_045 +
1511 m[
A14] * Det3_234_025 - m[
A15] * Det3_234_024;
1512 G4double Det4_1234_0345 = m[
A10] * Det3_234_345 - m[
A13] * Det3_234_045 +
1513 m[
A14] * Det3_234_035 - m[
A15] * Det3_234_034;
1514 G4double Det4_1234_1234 = m[
A11] * Det3_234_234 - m[
A12] * Det3_234_134 +
1515 m[
A13] * Det3_234_124 - m[
A14] * Det3_234_123;
1516 G4double Det4_1234_1235 = m[
A11] * Det3_234_235 - m[
A12] * Det3_234_135 +
1517 m[
A13] * Det3_234_125 - m[
A15] * Det3_234_123;
1518 G4double Det4_1234_1245 = m[
A11] * Det3_234_245 - m[
A12] * Det3_234_145 +
1519 m[
A14] * Det3_234_125 - m[
A15] * Det3_234_124;
1520 G4double Det4_1234_1345 = m[
A11] * Det3_234_345 - m[
A13] * Det3_234_145 +
1521 m[
A14] * Det3_234_135 - m[
A15] * Det3_234_134;
1522 G4double Det4_1234_2345 = m[
A12] * Det3_234_345 - m[
A13] * Det3_234_245 +
1523 m[
A14] * Det3_234_235 - m[
A15] * Det3_234_234;
1524 G4double Det4_1235_0123 = m[
A10] * Det3_235_123 - m[
A11] * Det3_235_023 +
1525 m[
A12] * Det3_235_013 - m[
A13] * Det3_235_012;
1526 G4double Det4_1235_0124 = m[
A10] * Det3_235_124 - m[
A11] * Det3_235_024 +
1527 m[
A12] * Det3_235_014 - m[
A14] * Det3_235_012;
1528 G4double Det4_1235_0125 = m[
A10] * Det3_235_125 - m[
A11] * Det3_235_025 +
1529 m[
A12] * Det3_235_015 - m[
A15] * Det3_235_012;
1530 G4double Det4_1235_0134 = m[
A10] * Det3_235_134 - m[
A11] * Det3_235_034 +
1531 m[
A13] * Det3_235_014 - m[
A14] * Det3_235_013;
1532 G4double Det4_1235_0135 = m[
A10] * Det3_235_135 - m[
A11] * Det3_235_035 +
1533 m[
A13] * Det3_235_015 - m[
A15] * Det3_235_013;
1534 G4double Det4_1235_0145 = m[
A10] * Det3_235_145 - m[
A11] * Det3_235_045 +
1535 m[
A14] * Det3_235_015 - m[
A15] * Det3_235_014;
1536 G4double Det4_1235_0234 = m[
A10] * Det3_235_234 - m[
A12] * Det3_235_034 +
1537 m[
A13] * Det3_235_024 - m[
A14] * Det3_235_023;
1538 G4double Det4_1235_0235 = m[
A10] * Det3_235_235 - m[
A12] * Det3_235_035 +
1539 m[
A13] * Det3_235_025 - m[
A15] * Det3_235_023;
1540 G4double Det4_1235_0245 = m[
A10] * Det3_235_245 - m[
A12] * Det3_235_045 +
1541 m[
A14] * Det3_235_025 - m[
A15] * Det3_235_024;
1542 G4double Det4_1235_0345 = m[
A10] * Det3_235_345 - m[
A13] * Det3_235_045 +
1543 m[
A14] * Det3_235_035 - m[
A15] * Det3_235_034;
1544 G4double Det4_1235_1234 = m[
A11] * Det3_235_234 - m[
A12] * Det3_235_134 +
1545 m[
A13] * Det3_235_124 - m[
A14] * Det3_235_123;
1546 G4double Det4_1235_1235 = m[
A11] * Det3_235_235 - m[
A12] * Det3_235_135 +
1547 m[
A13] * Det3_235_125 - m[
A15] * Det3_235_123;
1548 G4double Det4_1235_1245 = m[
A11] * Det3_235_245 - m[
A12] * Det3_235_145 +
1549 m[
A14] * Det3_235_125 - m[
A15] * Det3_235_124;
1550 G4double Det4_1235_1345 = m[
A11] * Det3_235_345 - m[
A13] * Det3_235_145 +
1551 m[
A14] * Det3_235_135 - m[
A15] * Det3_235_134;
1552 G4double Det4_1235_2345 = m[
A12] * Det3_235_345 - m[
A13] * Det3_235_245 +
1553 m[
A14] * Det3_235_235 - m[
A15] * Det3_235_234;
1554 G4double Det4_1245_0123 = m[
A10] * Det3_245_123 - m[
A11] * Det3_245_023 +
1555 m[
A12] * Det3_245_013 - m[
A13] * Det3_245_012;
1556 G4double Det4_1245_0124 = m[
A10] * Det3_245_124 - m[
A11] * Det3_245_024 +
1557 m[
A12] * Det3_245_014 - m[
A14] * Det3_245_012;
1558 G4double Det4_1245_0125 = m[
A10] * Det3_245_125 - m[
A11] * Det3_245_025 +
1559 m[
A12] * Det3_245_015 - m[
A15] * Det3_245_012;
1560 G4double Det4_1245_0134 = m[
A10] * Det3_245_134 - m[
A11] * Det3_245_034 +
1561 m[
A13] * Det3_245_014 - m[
A14] * Det3_245_013;
1562 G4double Det4_1245_0135 = m[
A10] * Det3_245_135 - m[
A11] * Det3_245_035 +
1563 m[
A13] * Det3_245_015 - m[
A15] * Det3_245_013;
1564 G4double Det4_1245_0145 = m[
A10] * Det3_245_145 - m[
A11] * Det3_245_045 +
1565 m[
A14] * Det3_245_015 - m[
A15] * Det3_245_014;
1566 G4double Det4_1245_0234 = m[
A10] * Det3_245_234 - m[
A12] * Det3_245_034 +
1567 m[
A13] * Det3_245_024 - m[
A14] * Det3_245_023;
1568 G4double Det4_1245_0235 = m[
A10] * Det3_245_235 - m[
A12] * Det3_245_035 +
1569 m[
A13] * Det3_245_025 - m[
A15] * Det3_245_023;
1570 G4double Det4_1245_0245 = m[
A10] * Det3_245_245 - m[
A12] * Det3_245_045 +
1571 m[
A14] * Det3_245_025 - m[
A15] * Det3_245_024;
1572 G4double Det4_1245_0345 = m[
A10] * Det3_245_345 - m[
A13] * Det3_245_045 +
1573 m[
A14] * Det3_245_035 - m[
A15] * Det3_245_034;
1574 G4double Det4_1245_1234 = m[
A11] * Det3_245_234 - m[
A12] * Det3_245_134 +
1575 m[
A13] * Det3_245_124 - m[
A14] * Det3_245_123;
1576 G4double Det4_1245_1235 = m[
A11] * Det3_245_235 - m[
A12] * Det3_245_135 +
1577 m[
A13] * Det3_245_125 - m[
A15] * Det3_245_123;
1578 G4double Det4_1245_1245 = m[
A11] * Det3_245_245 - m[
A12] * Det3_245_145 +
1579 m[
A14] * Det3_245_125 - m[
A15] * Det3_245_124;
1580 G4double Det4_1245_1345 = m[
A11] * Det3_245_345 - m[
A13] * Det3_245_145 +
1581 m[
A14] * Det3_245_135 - m[
A15] * Det3_245_134;
1582 G4double Det4_1245_2345 = m[
A12] * Det3_245_345 - m[
A13] * Det3_245_245 +
1583 m[
A14] * Det3_245_235 - m[
A15] * Det3_245_234;
1584 G4double Det4_1345_0123 = m[
A10] * Det3_345_123 - m[
A11] * Det3_345_023 +
1585 m[
A12] * Det3_345_013 - m[
A13] * Det3_345_012;
1586 G4double Det4_1345_0124 = m[
A10] * Det3_345_124 - m[
A11] * Det3_345_024 +
1587 m[
A12] * Det3_345_014 - m[
A14] * Det3_345_012;
1588 G4double Det4_1345_0125 = m[
A10] * Det3_345_125 - m[
A11] * Det3_345_025 +
1589 m[
A12] * Det3_345_015 - m[
A15] * Det3_345_012;
1590 G4double Det4_1345_0134 = m[
A10] * Det3_345_134 - m[
A11] * Det3_345_034 +
1591 m[
A13] * Det3_345_014 - m[
A14] * Det3_345_013;
1592 G4double Det4_1345_0135 = m[
A10] * Det3_345_135 - m[
A11] * Det3_345_035 +
1593 m[
A13] * Det3_345_015 - m[
A15] * Det3_345_013;
1594 G4double Det4_1345_0145 = m[
A10] * Det3_345_145 - m[
A11] * Det3_345_045 +
1595 m[
A14] * Det3_345_015 - m[
A15] * Det3_345_014;
1596 G4double Det4_1345_0234 = m[
A10] * Det3_345_234 - m[
A12] * Det3_345_034 +
1597 m[
A13] * Det3_345_024 - m[
A14] * Det3_345_023;
1598 G4double Det4_1345_0235 = m[
A10] * Det3_345_235 - m[
A12] * Det3_345_035 +
1599 m[
A13] * Det3_345_025 - m[
A15] * Det3_345_023;
1600 G4double Det4_1345_0245 = m[
A10] * Det3_345_245 - m[
A12] * Det3_345_045 +
1601 m[
A14] * Det3_345_025 - m[
A15] * Det3_345_024;
1602 G4double Det4_1345_0345 = m[
A10] * Det3_345_345 - m[
A13] * Det3_345_045 +
1603 m[
A14] * Det3_345_035 - m[
A15] * Det3_345_034;
1604 G4double Det4_1345_1234 = m[
A11] * Det3_345_234 - m[
A12] * Det3_345_134 +
1605 m[
A13] * Det3_345_124 - m[
A14] * Det3_345_123;
1606 G4double Det4_1345_1235 = m[
A11] * Det3_345_235 - m[
A12] * Det3_345_135 +
1607 m[
A13] * Det3_345_125 - m[
A15] * Det3_345_123;
1608 G4double Det4_1345_1245 = m[
A11] * Det3_345_245 - m[
A12] * Det3_345_145 +
1609 m[
A14] * Det3_345_125 - m[
A15] * Det3_345_124;
1610 G4double Det4_1345_1345 = m[
A11] * Det3_345_345 - m[
A13] * Det3_345_145 +
1611 m[
A14] * Det3_345_135 - m[
A15] * Det3_345_134;
1612 G4double Det4_1345_2345 = m[
A12] * Det3_345_345 - m[
A13] * Det3_345_245 +
1613 m[
A14] * Det3_345_235 - m[
A15] * Det3_345_234;
1614 G4double Det4_2345_0123 = m[
A20] * Det3_345_123 - m[
A21] * Det3_345_023 +
1615 m[
A22] * Det3_345_013 - m[
A23] * Det3_345_012;
1616 G4double Det4_2345_0124 = m[
A20] * Det3_345_124 - m[
A21] * Det3_345_024 +
1617 m[
A22] * Det3_345_014 - m[
A24] * Det3_345_012;
1618 G4double Det4_2345_0125 = m[
A20] * Det3_345_125 - m[
A21] * Det3_345_025 +
1619 m[
A22] * Det3_345_015 - m[
A25] * Det3_345_012;
1620 G4double Det4_2345_0134 = m[
A20] * Det3_345_134 - m[
A21] * Det3_345_034 +
1621 m[
A23] * Det3_345_014 - m[
A24] * Det3_345_013;
1622 G4double Det4_2345_0135 = m[
A20] * Det3_345_135 - m[
A21] * Det3_345_035 +
1623 m[
A23] * Det3_345_015 - m[
A25] * Det3_345_013;
1624 G4double Det4_2345_0145 = m[
A20] * Det3_345_145 - m[
A21] * Det3_345_045 +
1625 m[
A24] * Det3_345_015 - m[
A25] * Det3_345_014;
1626 G4double Det4_2345_0234 = m[
A20] * Det3_345_234 - m[
A22] * Det3_345_034 +
1627 m[
A23] * Det3_345_024 - m[
A24] * Det3_345_023;
1628 G4double Det4_2345_0235 = m[
A20] * Det3_345_235 - m[
A22] * Det3_345_035 +
1629 m[
A23] * Det3_345_025 - m[
A25] * Det3_345_023;
1630 G4double Det4_2345_0245 = m[
A20] * Det3_345_245 - m[
A22] * Det3_345_045 +
1631 m[
A24] * Det3_345_025 - m[
A25] * Det3_345_024;
1632 G4double Det4_2345_0345 = m[
A20] * Det3_345_345 - m[
A23] * Det3_345_045 +
1633 m[
A24] * Det3_345_035 - m[
A25] * Det3_345_034;
1634 G4double Det4_2345_1234 = m[
A21] * Det3_345_234 - m[
A22] * Det3_345_134 +
1635 m[
A23] * Det3_345_124 - m[
A24] * Det3_345_123;
1636 G4double Det4_2345_1235 = m[
A21] * Det3_345_235 - m[
A22] * Det3_345_135 +
1637 m[
A23] * Det3_345_125 - m[
A25] * Det3_345_123;
1638 G4double Det4_2345_1245 = m[
A21] * Det3_345_245 - m[
A22] * Det3_345_145 +
1639 m[
A24] * Det3_345_125 - m[
A25] * Det3_345_124;
1640 G4double Det4_2345_1345 = m[
A21] * Det3_345_345 - m[
A23] * Det3_345_145 +
1641 m[
A24] * Det3_345_135 - m[
A25] * Det3_345_134;
1642 G4double Det4_2345_2345 = m[
A22] * Det3_345_345 - m[
A23] * Det3_345_245 +
1643 m[
A24] * Det3_345_235 - m[
A25] * Det3_345_234;
1648 m[
A00] * Det4_1234_1234 - m[
A01] * Det4_1234_0234 +
1649 m[
A02] * Det4_1234_0134 - m[
A03] * Det4_1234_0124 + m[
A04] * Det4_1234_0123;
1651 m[
A00] * Det4_1234_1235 - m[
A01] * Det4_1234_0235 +
1652 m[
A02] * Det4_1234_0135 - m[
A03] * Det4_1234_0125 + m[
A05] * Det4_1234_0123;
1654 m[
A00] * Det4_1234_1245 - m[
A01] * Det4_1234_0245 +
1655 m[
A02] * Det4_1234_0145 - m[
A04] * Det4_1234_0125 + m[
A05] * Det4_1234_0124;
1657 m[
A00] * Det4_1234_1345 - m[
A01] * Det4_1234_0345 +
1658 m[
A03] * Det4_1234_0145 - m[
A04] * Det4_1234_0135 + m[
A05] * Det4_1234_0134;
1660 m[
A00] * Det4_1234_2345 - m[
A02] * Det4_1234_0345 +
1661 m[
A03] * Det4_1234_0245 - m[
A04] * Det4_1234_0235 + m[
A05] * Det4_1234_0234;
1663 m[
A01] * Det4_1234_2345 - m[
A02] * Det4_1234_1345 +
1664 m[
A03] * Det4_1234_1245 - m[
A04] * Det4_1234_1235 + m[
A05] * Det4_1234_1234;
1666 m[
A00] * Det4_1235_1234 - m[
A01] * Det4_1235_0234 +
1667 m[
A02] * Det4_1235_0134 - m[
A03] * Det4_1235_0124 + m[
A04] * Det4_1235_0123;
1669 m[
A00] * Det4_1235_1235 - m[
A01] * Det4_1235_0235 +
1670 m[
A02] * Det4_1235_0135 - m[
A03] * Det4_1235_0125 + m[
A05] * Det4_1235_0123;
1672 m[
A00] * Det4_1235_1245 - m[
A01] * Det4_1235_0245 +
1673 m[
A02] * Det4_1235_0145 - m[
A04] * Det4_1235_0125 + m[
A05] * Det4_1235_0124;
1675 m[
A00] * Det4_1235_1345 - m[
A01] * Det4_1235_0345 +
1676 m[
A03] * Det4_1235_0145 - m[
A04] * Det4_1235_0135 + m[
A05] * Det4_1235_0134;
1678 m[
A00] * Det4_1235_2345 - m[
A02] * Det4_1235_0345 +
1679 m[
A03] * Det4_1235_0245 - m[
A04] * Det4_1235_0235 + m[
A05] * Det4_1235_0234;
1681 m[
A01] * Det4_1235_2345 - m[
A02] * Det4_1235_1345 +
1682 m[
A03] * Det4_1235_1245 - m[
A04] * Det4_1235_1235 + m[
A05] * Det4_1235_1234;
1684 m[
A00] * Det4_1245_1234 - m[
A01] * Det4_1245_0234 +
1685 m[
A02] * Det4_1245_0134 - m[
A03] * Det4_1245_0124 + m[
A04] * Det4_1245_0123;
1687 m[
A00] * Det4_1245_1235 - m[
A01] * Det4_1245_0235 +
1688 m[
A02] * Det4_1245_0135 - m[
A03] * Det4_1245_0125 + m[
A05] * Det4_1245_0123;
1690 m[
A00] * Det4_1245_1245 - m[
A01] * Det4_1245_0245 +
1691 m[
A02] * Det4_1245_0145 - m[
A04] * Det4_1245_0125 + m[
A05] * Det4_1245_0124;
1693 m[
A00] * Det4_1245_1345 - m[
A01] * Det4_1245_0345 +
1694 m[
A03] * Det4_1245_0145 - m[
A04] * Det4_1245_0135 + m[
A05] * Det4_1245_0134;
1696 m[
A00] * Det4_1245_2345 - m[
A02] * Det4_1245_0345 +
1697 m[
A03] * Det4_1245_0245 - m[
A04] * Det4_1245_0235 + m[
A05] * Det4_1245_0234;
1699 m[
A01] * Det4_1245_2345 - m[
A02] * Det4_1245_1345 +
1700 m[
A03] * Det4_1245_1245 - m[
A04] * Det4_1245_1235 + m[
A05] * Det4_1245_1234;
1702 m[
A00] * Det4_1345_1234 - m[
A01] * Det4_1345_0234 +
1703 m[
A02] * Det4_1345_0134 - m[
A03] * Det4_1345_0124 + m[
A04] * Det4_1345_0123;
1705 m[
A00] * Det4_1345_1235 - m[
A01] * Det4_1345_0235 +
1706 m[
A02] * Det4_1345_0135 - m[
A03] * Det4_1345_0125 + m[
A05] * Det4_1345_0123;
1708 m[
A00] * Det4_1345_1245 - m[
A01] * Det4_1345_0245 +
1709 m[
A02] * Det4_1345_0145 - m[
A04] * Det4_1345_0125 + m[
A05] * Det4_1345_0124;
1711 m[
A00] * Det4_1345_1345 - m[
A01] * Det4_1345_0345 +
1712 m[
A03] * Det4_1345_0145 - m[
A04] * Det4_1345_0135 + m[
A05] * Det4_1345_0134;
1714 m[
A00] * Det4_1345_2345 - m[
A02] * Det4_1345_0345 +
1715 m[
A03] * Det4_1345_0245 - m[
A04] * Det4_1345_0235 + m[
A05] * Det4_1345_0234;
1717 m[
A01] * Det4_1345_2345 - m[
A02] * Det4_1345_1345 +
1718 m[
A03] * Det4_1345_1245 - m[
A04] * Det4_1345_1235 +
1719 m[
A05] * Det4_1345_1234;
1721 m[
A00] * Det4_2345_1234 - m[
A01] * Det4_2345_0234 +
1722 m[
A02] * Det4_2345_0134 - m[
A03] * Det4_2345_0124 + m[
A04] * Det4_2345_0123;
1724 m[
A00] * Det4_2345_1235 - m[
A01] * Det4_2345_0235 +
1725 m[
A02] * Det4_2345_0135 - m[
A03] * Det4_2345_0125 + m[
A05] * Det4_2345_0123;
1727 m[
A00] * Det4_2345_1245 - m[
A01] * Det4_2345_0245 +
1728 m[
A02] * Det4_2345_0145 - m[
A04] * Det4_2345_0125 + m[
A05] * Det4_2345_0124;
1730 m[
A00] * Det4_2345_1345 - m[
A01] * Det4_2345_0345 +
1731 m[
A03] * Det4_2345_0145 - m[
A04] * Det4_2345_0135 + m[
A05] * Det4_2345_0134;
1733 m[
A00] * Det4_2345_2345 - m[
A02] * Det4_2345_0345 +
1734 m[
A03] * Det4_2345_0245 - m[
A04] * Det4_2345_0235 + m[
A05] * Det4_2345_0234;
1736 m[
A01] * Det4_2345_2345 - m[
A02] * Det4_2345_1345 +
1737 m[
A03] * Det4_2345_1245 - m[
A04] * Det4_2345_1235 + m[
A05] * Det4_2345_1234;
1739 m[
A10] * Det4_2345_1234 - m[
A11] * Det4_2345_0234 +
1740 m[
A12] * Det4_2345_0134 - m[
A13] * Det4_2345_0124 + m[
A14] * Det4_2345_0123;
1742 m[
A10] * Det4_2345_1235 - m[
A11] * Det4_2345_0235 +
1743 m[
A12] * Det4_2345_0135 - m[
A13] * Det4_2345_0125 + m[
A15] * Det4_2345_0123;
1745 m[
A10] * Det4_2345_1245 - m[
A11] * Det4_2345_0245 +
1746 m[
A12] * Det4_2345_0145 - m[
A14] * Det4_2345_0125 + m[
A15] * Det4_2345_0124;
1748 m[
A10] * Det4_2345_1345 - m[
A11] * Det4_2345_0345 +
1749 m[
A13] * Det4_2345_0145 - m[
A14] * Det4_2345_0135 + m[
A15] * Det4_2345_0134;
1751 m[
A10] * Det4_2345_2345 - m[
A12] * Det4_2345_0345 +
1752 m[
A13] * Det4_2345_0245 - m[
A14] * Det4_2345_0235 + m[
A15] * Det4_2345_0234;
1754 m[
A11] * Det4_2345_2345 - m[
A12] * Det4_2345_1345 +
1755 m[
A13] * Det4_2345_1245 - m[
A14] * Det4_2345_1235 + m[
A15] * Det4_2345_1234;
1759 G4double det = m[
A00] * Det5_12345_12345 - m[
A01] * Det5_12345_02345 +
1760 m[
A02] * Det5_12345_01345 - m[
A03] * Det5_12345_01245 +
1761 m[
A04] * Det5_12345_01235 - m[
A05] * Det5_12345_01234;
1772 m[
A00] = Det5_12345_12345 * oneOverDet;
1773 m[
A01] = Det5_02345_12345 * mn1OverDet;
1774 m[
A02] = Det5_01345_12345 * oneOverDet;
1775 m[
A03] = Det5_01245_12345 * mn1OverDet;
1776 m[
A04] = Det5_01235_12345 * oneOverDet;
1777 m[
A05] = Det5_01234_12345 * mn1OverDet;
1779 m[
A10] = Det5_12345_02345 * mn1OverDet;
1780 m[
A11] = Det5_02345_02345 * oneOverDet;
1781 m[
A12] = Det5_01345_02345 * mn1OverDet;
1782 m[
A13] = Det5_01245_02345 * oneOverDet;
1783 m[
A14] = Det5_01235_02345 * mn1OverDet;
1784 m[
A15] = Det5_01234_02345 * oneOverDet;
1786 m[
A20] = Det5_12345_01345 * oneOverDet;
1787 m[
A21] = Det5_02345_01345 * mn1OverDet;
1788 m[
A22] = Det5_01345_01345 * oneOverDet;
1789 m[
A23] = Det5_01245_01345 * mn1OverDet;
1790 m[
A24] = Det5_01235_01345 * oneOverDet;
1791 m[
A25] = Det5_01234_01345 * mn1OverDet;
1793 m[
A30] = Det5_12345_01245 * mn1OverDet;
1794 m[
A31] = Det5_02345_01245 * oneOverDet;
1795 m[
A32] = Det5_01345_01245 * mn1OverDet;
1796 m[
A33] = Det5_01245_01245 * oneOverDet;
1797 m[
A34] = Det5_01235_01245 * mn1OverDet;
1798 m[
A35] = Det5_01234_01245 * oneOverDet;
1800 m[
A40] = Det5_12345_01235 * oneOverDet;
1801 m[
A41] = Det5_02345_01235 * mn1OverDet;
1802 m[
A42] = Det5_01345_01235 * oneOverDet;
1803 m[
A43] = Det5_01245_01235 * mn1OverDet;
1804 m[
A44] = Det5_01235_01235 * oneOverDet;
1805 m[
A45] = Det5_01234_01235 * mn1OverDet;
1807 m[
A50] = Det5_12345_01234 * mn1OverDet;
1808 m[
A51] = Det5_02345_01234 * oneOverDet;
1809 m[
A52] = Det5_01345_01234 * mn1OverDet;
1810 m[
A53] = Det5_01245_01234 * oneOverDet;
1811 m[
A54] = Det5_01235_01234 * mn1OverDet;
1812 m[
A55] = Det5_01234_01234 * oneOverDet;
G4double epsilon(G4double density, G4double temperature)
#define CHK_DIM_2(r1, r2, c1, c2, fun)
G4ErrorMatrix dsum(const G4ErrorMatrix &mat1, const G4ErrorMatrix &mat2)
G4ErrorMatrix operator*(const G4ErrorMatrix &mat1, G4double t)
std::ostream & operator<<(std::ostream &os, const G4ErrorMatrix &q)
G4ErrorMatrix operator-(const G4ErrorMatrix &mat1, const G4ErrorMatrix &mat2)
G4ErrorMatrix operator/(const G4ErrorMatrix &mat1, G4double t)
G4ErrorMatrix operator+(const G4ErrorMatrix &mat1, const G4ErrorMatrix &mat2)
#define CHK_DIM_1(c1, r2, fun)
std::vector< G4double >::iterator G4ErrorMatrixIter
std::vector< G4double >::const_iterator G4ErrorMatrixConstIter
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4ErrorMatrix apply(G4double(*f)(G4double, G4int, G4int)) const
virtual void invertHaywood4(G4int &ierr)
G4ErrorMatrix operator-() const
virtual void invert(G4int &ierr)
G4ErrorMatrix & operator/=(G4double t)
G4double determinant() const
virtual void invertHaywood5(G4int &ierr)
G4ErrorMatrix & operator=(const G4ErrorMatrix &m2)
virtual G4int num_col() const
virtual void invertHaywood6(G4int &ierr)
G4ErrorMatrix & operator*=(G4double t)
G4ErrorMatrix & operator-=(const G4ErrorMatrix &m2)
virtual G4int num_row() const
static void error(const char *s)
G4ErrorMatrix & operator+=(const G4ErrorMatrix &m2)
G4ErrorMatrix sub(G4int min_row, G4int max_row, G4int min_col, G4int max_col) const