Skip to content

C++ API uses now the STL and matched errors between filterbank and non-filterbank

Latest
Compare
Choose a tag to compare
@berndporr berndporr released this 17 Dec 10:31
· 10 commits to master since this release

API changes

This release changes the C++ API to the standard template library (STL) and removes any raw C pointer. The network architecture and the realtime values are now conveyed via std::vector which also carries the number of elements so that error checking can be done. Any mismatch between expected number of vector elements and actual vector elements will throw an exception.

Filterbank version has now the same number of vector elements for both the inputs and error signals.

In the previous version the inputs were sent through a filterbank and created then an actual number of inputs of number_of_filters*number_of_inputs and the user had to provide an error signal which was then number_of_filters x number_of_input long. That's confusing and now the number of vector elements for both signal and error is the same. In this way the filterbank util class can be a direct replacement for the non-filterbank one.