Device pointer interface: Vector (1D) interpolation. |
- Parameters:
-
[out] | d_YI | Interpolated function values |
[in] | n | Number of elements in inputs d_Y , d_X |
[in] | d_Y | Function values |
[in] | batch_Y | Number of tiles of d_Y |
[in] | d_X | Domain values (currently needs to be NULL) |
[in] | batch_X | Number of tiles of d_X |
[in] | ni | Number of elements in d_XI |
[in] | d_XI | Grid values to interpolate on. |
[in] | Y0 | Value for interpolations off the grid (i.e. out-of-bounds) |
[in] | method | Only supports 0='linear' |
|
afError | af_interp1D_S (float *d_YI, unsigned n, const float *d_Y, unsigned batch_Y, const float *d_X, unsigned batch_X, unsigned ni, const float *d_XI, float Y0, unsigned method) |
| Single precision, vector interpolation.
|
afError | af_interp1D_C (cuComplex *d_YI, unsigned n, const cuComplex *d_Y, unsigned batch_Y, const float *d_X, unsigned batch_X, unsigned ni, const float *d_XI, float Y0, unsigned method) |
| Complex, Single precision, vector interpolation.
|
afError | af_interp1D_D (double *d_YI, unsigned n, const double *d_Y, unsigned batch_Y, const double *d_X, unsigned batch_X, unsigned ni, const double *XI, double Y0, unsigned method) |
| Double precision, vector interpolation.
|
afError | af_interp1D_Z (cuDoubleComplex *d_YI, unsigned n, const cuDoubleComplex *d_Y, unsigned batch_Y, const double *d_X, unsigned batch_X, unsigned ni, const double *d_XI, double Y0, unsigned method) |
| Complex, Double precision, vector interpolation.
|