| NFFT 3.5.0

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

kernels.h
Go to the documentation of this file.
1 /*
2 * Copyright (c) 2002, 2017 Jens Keiner, Stefan Kunis, Daniel Potts
3 *
4 * This program is free software; you can redistribute it and/or modify it under
5 * the terms of the GNU General Public License as published by the Free Software
6 * Foundation; either version 2 of the License, or (at your option) any later
7 * version.
8 *
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
12 * details.
13 *
14 * You should have received a copy of the GNU General Public License along with
15 * this program; if not, write to the Free Software Foundation, Inc., 51
16 * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 */
18
22 #ifndef KERNELS_H
23 #define KERNELS_H
24
25 #include "config.h"
26
27 #ifdef HAVE_COMPLEX_H
28 #include <complex.h>
29 #endif
30
31 #include "nfft3.h"
32 #include "infft.h"
33
34 #ifdef __cplusplus
35 extern "C"
36 {
37 #endif /* __cplusplus */
38
44 C gaussian(R x, int der, const R *param);
45 C multiquadric(R x, int der, const R *param);
46 C inverse_multiquadric(R x, int der, const R *param);
47 C logarithm(R x, int der, const R *param);
48 C thinplate_spline(R x, int der, const R *param);
49 C one_over_square(R x, int der, const R *param);
50 C one_over_modulus(R x, int der, const R *param);
51 C one_over_x(R x, int der, const R *param);
52 C inverse_multiquadric3(R x, int der, const R *param);
53 C sinc_kernel(R x, int der, const R *param);
54 C cosc(R x, int der, const R *param);
55 C kcot(R x, int der, const R *param);
56 C one_over_cube(R x, int der, const R *param);
57 C log_sin(R x, int der, const R *param);
58 C laplacian_rbf(R x, int der, const R *param);
59 /* \} */
60
61 #ifdef __cplusplus
62 } /* extern "C" */
63 #endif /* __cplusplus */
64
65 #endif
66 /* kernels.h */
inverse_multiquadric3
C inverse_multiquadric3(R x, int der, const R *param)
K(x) = 1/sqrt(x^2+c^2)^3.
Definition: kernels.c:261
one_over_cube
C one_over_cube(R x, int der, const R *param)
K(x) = 1/x^3.
Definition: kernels.c:374
gaussian
C gaussian(R x, int der, const R *param)
K(x)=exp(-x^2/c^2)
Definition: kernels.c:38
cosc
C cosc(R x, int der, const R *param)
K(x) = cos(cx)/x.
Definition: kernels.c:314
one_over_x
C one_over_x(R x, int der, const R *param)
K(x) = 1/x.
Definition: kernels.c:233
thinplate_spline
C thinplate_spline(R x, int der, const R *param)
K(x) = x^2 log |x|.
Definition: kernels.c:149
sinc_kernel
C sinc_kernel(R x, int der, const R *param)
K(x) = sin(cx)/x.
Definition: kernels.c:287
one_over_square
C one_over_square(R x, int der, const R *param)
K(x) = 1/x^2.
Definition: kernels.c:177
one_over_modulus
C one_over_modulus(R x, int der, const R *param)
K(x) = 1/|x|.
Definition: kernels.c:205
logarithm
C logarithm(R x, int der, const R *param)
K(x)=log |x|.
Definition: kernels.c:116
laplacian_rbf
C laplacian_rbf(R x, int der, const R *param)
K(x) = exp(-|x|/c)
Definition: kernels.c:417
inverse_multiquadric
C inverse_multiquadric(R x, int der, const R *param)
K(x)=1/sqrt(x^2+c^2)
Definition: kernels.c:90
kcot
C kcot(R x, int der, const R *param)
K(x) = cot(cx)
Definition: kernels.c:346
nfft3.h
Header file for the nfft3 library.
multiquadric
C multiquadric(R x, int der, const R *param)
K(x)=sqrt(x^2+c^2)
Definition: kernels.c:64
log_sin
C log_sin(R x, int der, const R *param)
K(x) = log(|sin(cx)|)
Definition: kernels.c:402