The Open Master Hearing Aid (openMHA)  openMHA
Open community platform for hearing aid algorithm research
MHAFilter::transfer_matrix_t Struct Reference

A sparse matrix of transfer function partitionss. More...

Inherits std::vector< transfer_function_t >.

Public Member Functions

std::valarray< unsigned int > partitions (unsigned fragsize) const
 Returns an array of the results of calling the partitions() method on every matrix member. More...
 
std::valarray< unsigned int > non_empty_partitions (unsigned int fragsize) const
 Returns an array of the results of calling the non_empty_partitions() method on every matrix member. More...
 

Detailed Description

A sparse matrix of transfer function partitionss.

Each matrix element knows its position in the matrix, so they can be stored as a vector.

Member Function Documentation

◆ partitions()

std::valarray<unsigned int> MHAFilter::transfer_matrix_t::partitions ( unsigned  fragsize) const
inline

Returns an array of the results of calling the partitions() method on every matrix member.

◆ non_empty_partitions()

std::valarray<unsigned int> MHAFilter::transfer_matrix_t::non_empty_partitions ( unsigned int  fragsize) const
inline

Returns an array of the results of calling the non_empty_partitions() method on every matrix member.


The documentation for this struct was generated from the following file: