integrate3D function

Integrate a function on a rectangular 3D grid

Integrate a function on a rectangular 3D grid

integrate3D(f, argvals)

Arguments

  • f: A 3D array, representing the function evaluations on the grid
  • argvals: A list with 3 elements, representing the grid points in the first, second and third dimension of f

Returns

The result of the numerical integration of f on the given grid.