niteOwl
- 10
- 0
How can you compute
<br /> F(k) = k\int^{\infty}_{0}dy\int^{y}_{0}dx f(kx,y)<br />
in C. I know about Python's scipy.integrate.dblquad function but it's just too slow. I have written some Cython code with a 2D gaussian quadrature function in C but it only takes doubles as limits. I think C doesn't have anything like Python's lambda, so how can this be done in C?
<br /> F(k) = k\int^{\infty}_{0}dy\int^{y}_{0}dx f(kx,y)<br />
in C. I know about Python's scipy.integrate.dblquad function but it's just too slow. I have written some Cython code with a 2D gaussian quadrature function in C but it only takes doubles as limits. I think C doesn't have anything like Python's lambda, so how can this be done in C?
Last edited: