/*
 *  Copyright 2002 by Soos, Antal
 *  All rights reserved. Property of Soos, Antal.
 *  Restricted rights to use, duplicate or disclose this code are
 *  granted through contract.  
 */
/***************************************************************************/
/*                                                                         */
/*     QR_LMS . hpp		                                           */
/*                                                                         */
/*     Recoursive Least Mean Square Algorithm inplementation.              */
/*									   */
/*                                                                         */
/***************************************************************************/

#ifndef _QR_LMS_HPP_
#define _QR_LMS_HPP_

#include "sysIdent.hpp"

class QR_LMS_alg : public sysid {


//	Matrix Mtemp; // Temporary result holder matrix

	float *FI;
	float *PI;
	float *PIpr;
	float *FIm;
	float *PIsc;
	float *alfa;
	float *beta;
	float *sigma;
	float *ro;
	float *eta;
	float *gama;
	float *r;




public:

	void update(float y_n, float u_n_1);
	 QR_LMS_alg(int is,int ia,int ib,int ic) ;
	 ~QR_LMS_alg();
};


#endif // _QR_LMS_HPP_
