- refactored
- use blaze matrix library instead of Eigen git-svn-id: http://moon:8086/svn/software/trunk/libsrc/cpp@943 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
@@ -65,7 +65,7 @@ public:
|
||||
{
|
||||
if (coeff)
|
||||
{
|
||||
m_pCoeff[stage](j++) = coeff[i];
|
||||
m_pCoeff[stage][j++] = coeff[i];
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -82,14 +82,14 @@ public:
|
||||
j = 0;
|
||||
for (i=0; i < len; i++)
|
||||
{
|
||||
m_pFir[m_currStage].feed(src(i));
|
||||
m_pFir[m_currStage].feed(src[i]);
|
||||
if (m_currStage == (m_M-1))
|
||||
{
|
||||
dst(j) = m_pFir[m_currStage].processReal(m_pCoeff[m_currStage]);
|
||||
dst[j] = m_pFir[m_currStage].processReal(m_pCoeff[m_currStage]);
|
||||
}
|
||||
else
|
||||
{
|
||||
dst(j) += m_pFir[m_currStage].processReal(m_pCoeff[m_currStage]);
|
||||
dst[j] += m_pFir[m_currStage].processReal(m_pCoeff[m_currStage]);
|
||||
}
|
||||
if (--m_currStage >= m_M)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user