I would like to compute
for fixed iN and i0 with G being an nxn array of complex numbers and F being in principle an (N+1)x(N+1)xnxn array of complex numbers. Howeve