added member function IsInitialized for moving average class
This commit is contained in:
parent
e42c3afb81
commit
7c13e621ce
1 changed files with 1 additions and 0 deletions
|
@ -270,6 +270,7 @@ public:
|
||||||
virtual void Init ( const int iNewSize );
|
virtual void Init ( const int iNewSize );
|
||||||
void InitVec ( const int iNewSize, const int iNewVecSize );
|
void InitVec ( const int iNewSize, const int iNewVecSize );
|
||||||
void Reset();
|
void Reset();
|
||||||
|
bool IsInitialized() { return ( this->iNorm == this->iVectorSize ); }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
int iCurIdx;
|
int iCurIdx;
|
||||||
|
|
Loading…
Add table
Reference in a new issue