NFFT
3.3.0
Main Page
Modules
Data Structures
Files
File List
Globals
applications
fastsum
kernels.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2002, 2015 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
19
/* $Id$ */
20
24
#ifndef KERNELS_H
25
#define KERNELS_H
26
27
#include "config.h"
28
29
#ifdef HAVE_COMPLEX_H
30
#include <complex.h>
31
#endif
32
33
#include "
nfft3.h
"
34
#include "infft.h"
35
36
#ifdef __cplusplus
37
extern
"C"
38
{
39
#endif
/* __cplusplus */
40
46
C gaussian(R x,
int
der,
const
R *param);
/* K(x)=exp(-x^2/c^2) */
47
C multiquadric(R x,
int
der,
const
R *param);
/* K(x)=sqrt(x^2+c^2) */
48
C inverse_multiquadric(R x,
int
der,
const
R *param);
/* K(x)=1/sqrt(x^2+c^2) */
49
C logarithm(R x,
int
der,
const
R *param);
/* K(x)=log |x| */
50
C thinplate_spline(R x,
int
der,
const
R *param);
/* K(x) = x^2 log |x| */
51
C one_over_square(R x,
int
der,
const
R *param);
/* K(x) = 1/x^2 */
52
C one_over_modulus(R x,
int
der,
const
R *param);
/* K(x) = 1/|x| */
53
C one_over_x(R x,
int
der,
const
R *param);
/* K(x) = 1/x */
54
C inverse_multiquadric3(R x,
int
der,
const
R *param);
/* K(x) = 1/sqrt(x^2+c^2)^3 */
55
C sinc_kernel(R x,
int
der,
const
R *param);
/* K(x) = sin(cx)/x */
56
C cosc(R x,
int
der,
const
R *param);
/* K(x) = cos(cx)/x */
57
C kcot(R x,
int
der,
const
R *param);
/* K(x) = cot(cx) */
58
C one_over_cube(R x,
int
der,
const
R *param);
/* K(x) = 1/x^3 */
59
/* \} */
60
61
#ifdef __cplusplus
62
}
/* extern "C" */
63
#endif
/* __cplusplus */
64
65
#endif
66
/* kernels.h */
nfft3.h
Generated by
1.8.11