![]()  | 
  
    The Open Master Hearing Aid (openMHA)
    openMHA
    
   Open community platform for hearing aid algorithm research 
   | 
 
Helper class for usage in computing compression, expansion and limiting. More...
Public Member Functions | |
| line_t (mha_real_t x1, mha_real_t y1, mha_real_t x2, mha_real_t y2) | |
| Constructor used for compression which takes two x and y coordinates each to find m and y0  More...  | |
| line_t (mha_real_t x1, mha_real_t y1, mha_real_t m_) | |
| Constructor used for expansion and limiting which takes x and y coordinates and a gradient, giving y0.  More... | |
| mha_real_t | operator() (mha_real_t x) | 
| Operator overload which returns.  More... | |
Private Attributes | |
| mha_real_t | m | 
| The gradient and y-intercept.  More... | |
| mha_real_t | y0 | 
Helper class for usage in computing compression, expansion and limiting.
| dc_simple::dc_t::line_t::line_t | ( | mha_real_t | x1, | 
| mha_real_t | y1, | ||
| mha_real_t | x2, | ||
| mha_real_t | y2 | ||
| ) | 
Constructor used for compression which takes two x and y coordinates each to find m and y0 
 
| dc_simple::dc_t::line_t::line_t | ( | mha_real_t | x1, | 
| mha_real_t | y1, | ||
| mha_real_t | m_ | ||
| ) | 
Constructor used for expansion and limiting which takes x and y coordinates and a gradient, giving y0.
      
  | 
  inline | 
Operator overload which returns.
| x | 
      
  | 
  private | 
The gradient and y-intercept.
      
  | 
  private |