"ippsFIR_32f_I" returns negative values, although neither taps nor the input are negative

"ippsFIR_32f_I" returns negative values, although neither taps nor the input are negative

Аватар пользователя poozir

Hello,

I recognize negative values after filtering with "ippsFIR_32f_I", although neither my taps (feed forward coefficients) nor the input vector are negative.
How is this possible?

Here is my code snippet, which reproduces this strange behaviour.
Note: If changing "iNumIters" to a smaller value, this behaviour does not occur anymore.

[cpp] // initializations and declarations IppStatus IppStatus; IppsFIRState_32f* pState; int NFilt = 4096; std::vector b(NFilt, 1.0f/NFilt); // Feed forward coefficients (taps) std::vector bCheck(NFilt, 0.0f); // vector to check coefficients std::vector delayLine(NFilt,0.0f); // initial condition std::vector delayLineCheck(NFilt,0.0f); // vector to check final condition std::vector x(NFilt+1024, 0.0f); // input signal for (int k=2; k

IPP Version: 6.0.0.61
I would be very thankful for any help.
Sincerely yours

2 posts / 0 новое
Последнее сообщение
Пожалуйста, обратитесь к странице Уведомление об оптимизации для более подробной информации относительно производительности и оптимизации в программных продуктах компании Intel.
Аватар пользователя poozir

Noone any idea, what could be wrong?

Зарегистрируйтесь, чтобы оставить комментарий.