1 #include "../qpms/gaunt.h"
7 int main(int argc
, char **argv
)
12 else lMax
= atoi(argv
[1]);
14 printf("// assuming lMax == %d:\n", lMax
);
15 size_t Amaxcumsum
= 0;
16 printf("0x%zx,\n", Amaxcumsum
);
17 for (int n
= 0; n
<= lMax
; n
++)
18 for (int m
= -n
; m
<= n
; m
++)
19 for (int nu
= 0; nu
<= lMax
; nu
++)
20 for (int mu
= -nu
; mu
<= nu
; mu
++) {
21 Amaxcumsum
+= gaunt_q_max(-m
, n
, mu
, nu
) + 1;
22 printf("0x%zx,\n", Amaxcumsum
);