Contents of file 'sgfilter/sgfilter.h':
1 /*12:*/
2 #line 934 "./sgfilter.w"
3
4 #define VERSION "1.6"
5 #define COPYRIGHT "Copyright (C) 2006-2011, Fredrik Jonsson"
6 #define DEFAULT_NL (15)
7 #define DEFAULT_NR (15)
8 #define DEFAULT_M (4)
9 #define DEFAULT_LD (0)
10 #define EPSILON ((double)(1.0e-20))
11 #define NCHMAX (256)
12 #define CONVOLVE_WITH_NR_CONVLV (0)
13 #define log(...) log_printf(__func__, __VA_ARGS__)
14
15
16 #if defined(_CYGWIN_SIGNAL_H)||defined(__APPLE__)||defined(__unix__)||defined(__linux)
17 #define UNIX_LIKE_OS (1)
18 #endif
19
20
21 void log_printf(const char*function_name,const char*format,...);
22 int*ivector(long nl,long nh);
23 double*dvector(long nl,long nh);
24 double**dmatrix(long nrl,long nrh,long ncl,long nch);
25 void free_ivector(int*v,long nl,long nh);
26 void free_dvector(double*v,long nl,long nh);
27 void free_dmatrix(double**m,long nrl,long nrh,long ncl,long nch);
28 void lubksb(double**a,int n,int*indx,double b[]);
29 void ludcmp(double**a,int n,int*indx,double*d);
30 void four1(double data[],unsigned long nn,int isign);
31 void twofft(double data1[],double data2[],double fft1[],double fft2[],
32 unsigned long n);
33 void realft(double data[],unsigned long n,int isign);
34 char convlv(double data[],unsigned long n,double respns[],unsigned long m,
35 int isign,double ans[]);
36 char sgcoeff(double c[],int np,int nl,int nr,int ld,int m);
37 char sgfilter(double yr[],double yf[],int mm,int nl,int nr,int ld,int m);
38 char*strip_away_path(char filename[]);
39 long int num_coordinate_pairs(FILE*file);
40
41 /*:12*/
42
Generated by ::viewsrc::