Discussion:
[PyCUDA] linear interpolation / trapezoidal rule integration
Walter White
2016-02-25 13:48:59 UTC
Permalink
Hello,

are there functions for linear interpolation and trapezoidal rule
integration in CUDA?
Something like interp1d or trapz in in Python and Matlab.
Or how would you do it? So far I am iterating trough a list manually.

Kind regards,
Joe
Lev Givon
2016-02-25 16:36:58 UTC
Permalink
Post by Walter White
Hello,
are there functions for linear interpolation and trapezoidal rule
integration in CUDA?
Something like interp1d or trapz in in Python and Matlab.
Or how would you do it? So far I am iterating trough a list manually.
Kind regards,
Joe
There are 1D and 2D trapezoidal integration methods available in scikit-cuda,
although their performance probably could be improved:

http://scikit-cuda.readthedocs.org/en/latest/reference_integrate.html
--
Lev Givon
Bionet Group | Neurokernel Project
http://lebedov.github.io/
http://neurokernel.github.io/
Loading...