kernels.h
Go to the documentation of this file.
/*
* Copyright (c) 2002, 2017 Jens Keiner, Stefan Kunis, Daniel Potts
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option) any later
* version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, write to the Free Software Foundation, Inc., 51
* Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef KERNELS_H
#define KERNELS_H
#include "config.h"
#ifdef HAVE_COMPLEX_H
#include <complex.h>
#endif
#include "nfft3.h"
#include "infft.h"
#ifdef __cplusplus
extern "C"
{
#endif /* __cplusplus */
C gaussian(R x, int der, const R *param);
C multiquadric(R x, int der, const R *param);
C inverse_multiquadric(R x, int der, const R *param);
C logarithm(R x, int der, const R *param);
C thinplate_spline(R x, int der, const R *param);
C one_over_square(R x, int der, const R *param);
C one_over_modulus(R x, int der, const R *param);
C one_over_x(R x, int der, const R *param);
C inverse_multiquadric3(R x, int der, const R *param);
C sinc_kernel(R x, int der, const R *param);
C cosc(R x, int der, const R *param);
C kcot(R x, int der, const R *param);
C one_over_cube(R x, int der, const R *param);
C log_sin(R x, int der, const R *param);
C laplacian_rbf(R x, int der, const R *param);
/* \} */
#ifdef __cplusplus
} /* extern "C" */
#endif /* __cplusplus */
#endif
/* kernels.h */
inverse_multiquadric
C inverse_multiquadric(R x, int der, const R *param)
K(x)=1/sqrt(x^2+c^2).
Definition kernels.c:90
logarithm
C logarithm(R x, int der, const R *param)
K(x)=log |x|.
Definition kernels.c:116
multiquadric
C multiquadric(R x, int der, const R *param)
K(x)=sqrt(x^2+c^2).
Definition kernels.c:64
one_over_cube
C one_over_cube(R x, int der, const R *param)
K(x) = 1/x^3.
Definition kernels.c:374
one_over_square
C one_over_square(R x, int der, const R *param)
K(x) = 1/x^2.
Definition kernels.c:177
sinc_kernel
C sinc_kernel(R x, int der, const R *param)
K(x) = sin(cx)/x.
Definition kernels.c:287
kcot
C kcot(R x, int der, const R *param)
K(x) = cot(cx).
Definition kernels.c:346
one_over_modulus
C one_over_modulus(R x, int der, const R *param)
K(x) = 1/|x|.
Definition kernels.c:205
thinplate_spline
C thinplate_spline(R x, int der, const R *param)
K(x) = x^2 log |x|.
Definition kernels.c:149
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
gaussian
C gaussian(R x, int der, const R *param)
K(x)=exp(-x^2/c^2).
Definition kernels.c:38
one_over_x
C one_over_x(R x, int der, const R *param)
K(x) = 1/x.
Definition kernels.c:233
cosc
C cosc(R x, int der, const R *param)
K(x) = cos(cx)/x.
Definition kernels.c:314
log_sin
C log_sin(R x, int der, const R *param)
K(x) = log(|sin(cx)|).
Definition kernels.c:402
laplacian_rbf
C laplacian_rbf(R x, int der, const R *param)
K(x) = exp(-|x|/c).
Definition kernels.c:417
infft.h
Internal header file for auxiliary definitions and functions.
nfft3.h
Header file for the nfft3 library.