| afError | af_besselh_S (float *d_out, unsigned k, unsigned n, const float *d_in, float nu) |
| |
| afError | af_besselh_C (float *d_out, unsigned k, unsigned n, const float *d_in, float nu) |
| |
| afError | af_besselh_D (double *d_out, unsigned k, unsigned n, const double *d_in, double nu) |
| |
| afError | af_besselh_Z (double *d_out, unsigned k, unsigned n, const double *d_in, double nu) |
| |
| afError | af_besseli_S (float *d_out, unsigned n, const float *d_in, float nu) |
| |
| afError | af_besseli_C (float *d_out, unsigned n, const float *d_in, float nu) |
| |
| afError | af_besseli_D (double *d_out, unsigned n, const double *d_in, double nu) |
| |
| afError | af_besseli_Z (double *d_out, unsigned n, const double *d_in, double nu) |
| |
| afError | af_besselj_S (float *d_out, unsigned n, const float *d_in, float nu) |
| |
| afError | af_besselj_C (cfloat *d_out, unsigned n, const cfloat *d_in, float nu) |
| |
| afError | af_besselj_D (double *d_out, unsigned n, const double *d_in, double nu) |
| |
| afError | af_besselj_Z (cdouble *d_out, unsigned n, const cdouble *d_in, double nu) |
| |
| afError | af_besselk_S (float *d_out, unsigned n, const float *d_in, float nu) |
| |
| afError | af_besselk_C (float *d_out, unsigned n, const float *d_in, float nu) |
| |
| afError | af_besselk_D (double *d_out, unsigned n, const double *d_in, double nu) |
| |
| afError | af_besselk_Z (double *d_out, unsigned n, const double *d_in, double nu) |
| |
| afError | af_bessely_S (float *d_out, unsigned n, const float *d_in, float nu) |
| |
| afError | af_bessely_C (float *d_out, unsigned n, const float *d_in, float nu) |
| |
| afError | af_bessely_D (double *d_out, unsigned n, const double *d_in, double nu) |
| |
| afError | af_bessely_Z (double *d_out, unsigned n, const double *d_in, double nu) |
| |
The C interface for Bessel functions.
For the canonical Bessel function (and several of its variants), compute the value of the function for each element or the array.
The Bessel functions are the canonical solutions to Bessel's differential equation:
float ha[] = {1, 2, 3, 4, 5};
array a = array(5, 1, ha);
array out = array(5, 1,
f32);
float* p_in = a.device<float>();
float* p_out = out.device<float>();