All Questions
Tagged with compile interpolation
10 questions
2
votes
1
answer
147
views
What can be improved in the following custom bilinear interpolation?
Consider some test data: a grid of x, y, and values of some function on this grid:
...
4
votes
1
answer
235
views
How to quickly sample points from the given PDF data?
Consider some data (distr.dat). It is a tabulated PDF: x, y, z, PDF[x,y,z], where x is some parameter (and the integral of ...
4
votes
2
answers
291
views
How to speedup the integration of a tabulated function?
The problem
Consider some pre-generated list with coordinates x1,x2,x3,x4 and values of some function ...
2
votes
1
answer
133
views
Speed up Interpolation
I have to calculate a lot of values using interpolation function. I think it could be faster, but I wasn't able to speed it up any way using Compile/Parallel computations. Am I missing something?
<...
3
votes
2
answers
511
views
How to produce the following table faster?
Question
Consider a toy function func[x1,x2,x3,x4] and a toy grid gridTot of the coordinates ...
1
vote
1
answer
128
views
How to speedup calling the interpolation function? [duplicate]
Consider the following data:
...
5
votes
1
answer
891
views
Dealing with InterpolatingFunction in Compile
I have rather large equations that profit a lot from compiling, unfortunately they require input from external numerics and need to be interpolated.
In the end this costs a lot of performance as <...
0
votes
0
answers
266
views
Linear interpolation over 2 variables [duplicate]
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 ...
10
votes
3
answers
1k
views
How can I speed up my compiled RBF interpolating function?
Overview
I have a function that acts like the Interpolation on sparse $n$-dimensional data using a simple implementation of RBF interpolation method. I want my ...
4
votes
3
answers
626
views
Error when compiling function containing InterpolationFunction [duplicate]
I'm trying to solve a coupled ODE system using NDSolve. The coupling can turn on and off in some regions, and when the coupling is off, the solution can be written ...