I successfully imported some optical data to Mathematica, which I need to interpolate to use it as a proper function. The command
data=Interpolation was quite helpful, but know I'm in doubt whether it is the best way to define a function
f[x_]:=data[x] when the function will later be called upon in a numerical integration with
What is the best way to store the interpolated data in terms of computational time when using it later in
NIntegrate? Any advice is highly appreciated.