Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I'm tuning a function to data over 4-5 variables using Differential Evolution. The objective function calls frequently interpolation function. I came to a point, where compiling the objective function should make things much faster. But interpolation function cannot be compiled.

Is there compilable implementation of linear interpolation function over 2 variables that is faster or of similar speed with uncompilable internal interpolation function?

share|improve this question
It's hard to give suggestions without a specific code sample, can you add one? –  xzczd Apr 18 '14 at 4:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.