I have a numerically evaluated function f[x,y]
(it is impossible to write down analytical epxression for the function f
) and array of points {x,y}
with constant steps in x
and y
directions. I try to perform suggested strategy (see this question) My data is not pretty and Interpolation
says me that InterpolationOrder
should be set to All
or to 1
. If I use ->1
, it returns
Interpolation::fememtlq: The quality -1.21606*10^-15 of the underlying mesh is too low.
The quality needs to be larger than 0.`.
Then, I obtain interpolation function and try to perform NIntegrate
. However, when I try to do this, it seems that Mathematica kernel crashes.
To be honest, I know nothing about numerical integration but I think that Method
specification in NIntegrate
can help. I can provide my data and result of "naive" calculation (just replace integrate by sum over points).
I try to understand which method of NIntegrate
should be used. I plot DensityPlot
of interpolating function and (may be) it helps.