wavelib/src/wtmath.h

34 lines
607 B
C
Raw Normal View History

2014-12-15 18:17:46 +08:00
#ifndef WTMATH_H_
#define WTMATH_H_
#include "wavefilt.h"
#ifdef __cplusplus
extern "C" {
#endif
int upsamp(double *x, int lenx, int M, double *y);
int upsamp2(double *x, int lenx, int M, double *y);
int downsamp(double *x, int lenx, int M, double *y);
int per_ext(double *sig, int len, int a,double *oup);
int symm_ext(double *sig, int len, int a,double *oup);
void circshift(double *array, int N, int L);
int testSWTlength(int N, int J);
int wmaxiter(int sig_len, int filt_len);
2016-01-29 19:39:44 +08:00
double costfunc(double *x, int N, char *entropy, double p);
2014-12-15 18:17:46 +08:00
#ifdef __cplusplus
}
#endif
2016-01-29 19:39:44 +08:00
#endif /* WAVELIB_H_ */