43 lines
678 B
C
43 lines
678 B
C
![]() |
/*
|
||
|
* waux.h
|
||
|
*
|
||
|
* Created on: Aug 22, 2017
|
||
|
* Author: Rafat Hussain
|
||
|
*/
|
||
|
|
||
|
#ifndef AUXILIARY_WAUX_H_
|
||
|
#define AUXILIARY_WAUX_H_
|
||
|
|
||
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
#include <string.h>
|
||
|
#include <float.h>
|
||
|
#include <math.h>
|
||
|
#include "../header/wavelib.h"
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
|
||
|
int compare_double(const void* a, const void* b);
|
||
|
|
||
|
double median(double *x, int N);
|
||
|
|
||
|
double mad(double *x, int N);
|
||
|
|
||
|
int minindex(double *arr, int N);
|
||
|
|
||
|
void getDWTAppx(wt_object wt, double *appx,int N);
|
||
|
|
||
|
void getDWTDetail(wt_object wt, double *detail, int N, int level);
|
||
|
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
|
||
|
|
||
|
#endif /* AUXILIARY_WAUX_H_ */
|