The Open Master Hearing Aid (openMHA)  openMHA
Open community platform for hearing aid algorithm research
dc_simple.cpp File Reference

Namespaces

 dc_simple
 

Functions

void dc_simple::test_fail (const std::vector< float > &v, unsigned int s, const std::string &name)
 Checks size of vector. More...
 
std::vector< float > dc_simple::force_resize (const std::vector< float > &v, unsigned int s, const std::string &name)
 Creates a copy of vector v with s elements, provided that \v has either s elements or 1 elements. More...
 
mha_real_t dc_simple::not_zero (mha_real_t x, const std::string &comment)
 Helper function to throw an error if x is 0. More...