20 double** HH01 =
new double*[nNodes];
21 double** HH11 =
new double*[nNodes];
23 for(
int i = 0; i < nNodes; ++i)
25 HH01[i] =
new double[nNodes];
26 HH11[i] =
new double[nNodes];
38 cout <<
"HH01 determinant: " <<
determinant(HH01, nNodes) << endl;
39 cout <<
"HH11 determinant: " <<
determinant(HH11, nNodes) << endl;
48 int twoNodes = nNodes - 1;
49 double** HH01 =
new double*[twoNodes];
50 double** HH11 =
new double*[twoNodes];
51 for(
int i = 0; i < twoNodes; ++i)
53 HH01[i] =
new double[twoNodes];
54 HH11[i] =
new double[twoNodes];
57 double** HH02 =
new double*[nNodes];
58 double** HH12 =
new double*[nNodes];
59 for(
int i = 0; i < nNodes; ++i)
61 HH02[i] =
new double[nNodes];
62 HH12[i] =
new double[nNodes];
95 cout <<
"HH01 determinant: " <<
determinant(HH01, twoNodes) << endl;
96 cout <<
"HH11 determinant: " <<
determinant(HH11, twoNodes) << endl;
97 cout <<
"HH02 determinant: " <<
determinant(HH02, nNodes) << endl;
98 cout <<
"HH12 determinant: " <<
determinant(HH12, nNodes) << endl;
108 int twoNodes = nNodes - 2;
109 int threeNodes = nNodes - 1;
111 double** HH01 =
new double*[twoNodes];
112 double** HH11 =
new double*[twoNodes];
113 for(
int i = 0; i < twoNodes; ++i)
115 HH01[i] =
new double[twoNodes];
116 HH11[i] =
new double[twoNodes];
119 double** HH02 =
new double*[threeNodes];
120 double** HH12 =
new double*[threeNodes];
121 for(
int i = 0; i < threeNodes; ++i)
123 HH02[i] =
new double[threeNodes];
124 HH12[i] =
new double[threeNodes];
127 double** HH03 =
new double*[nNodes];
128 double** HH13 =
new double*[nNodes];
129 for(
int i = 0; i < nNodes; ++i)
131 HH03[i] =
new double[nNodes];
132 HH13[i] =
new double[nNodes];
199 cout <<
"HH01 determinant: " <<
determinant(HH01, twoNodes) << endl;
200 cout <<
"HH11 determinant: " <<
determinant(HH11, twoNodes) << endl;
201 cout <<
"HH02 determinant: " <<
determinant(HH02, threeNodes) << endl;
202 cout <<
"HH12 determinant: " <<
determinant(HH12, threeNodes) << endl;
203 cout <<
"HH03 determinant: " <<
determinant(HH03, nNodes) << endl;
204 cout <<
"HH13 determinant: " <<
determinant(HH13, nNodes) << endl;
double determinant(double **in_matrix, int n)
int HankelHadamard(const double *m, int nNodes)
Hankel-Hadamard function.
m
Bubble Growth Application Recipe.