RTXI  2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
rls_filt.h
Go to the documentation of this file.
1 //
2 // File = rls_filt.h
3 //
4 
5 #ifndef _RLS_FILT_H_
6 #define _RLS_FILT_H_
7 
8 #include "adap_fir.h"
9 #include "matrix_t.h"
10 //#include "typedefs.h"
11 
12 class RlsFilter : public AdaptiveFir
13 {
14 public:
15  RlsFilter(int num_taps, double* coeff, double delta, double lambda,
16  logical quan_enab, long coeff_quan_factor, long input_quan_factor,
17  int tap_for_trans, int secondary_tap, int transient_len);
18  double UpdateTaps(double true_samp, double estim_samp,
19  logical trans_save_enab);
20  void ResetTaps(void);
21 
22 private:
23  double Lambda;
24  double Delta;
30 };
31 
32 #endif
RlsFilter(int num_taps, double *coeff, double delta, double lambda, logical quan_enab, long coeff_quan_factor, long input_quan_factor, int tap_for_trans, int secondary_tap, int transient_len)
Definition: rls_filt.cpp:18
int logical
Definition: typedefs.h:4
double UpdateTaps(double true_samp, double estim_samp, logical trans_save_enab)
Definition: rls_filt.cpp:66
colvec< double > * K_Vec
Definition: rls_filt.h:27
rowvec< double > * Rv_Work
Definition: rls_filt.h:26
double Delta
Definition: rls_filt.h:24
colvec< double > * U_Vec
Definition: rls_filt.h:28
matrix< double > * P_Mtx
Definition: rls_filt.h:29
double Lambda
Definition: rls_filt.h:23
void ResetTaps(void)
Definition: rls_filt.cpp:47
colvec< double > * Cv_Work
Definition: rls_filt.h:25