eqrls_rrrf
Variants: eqrls_cccf, eqrls_rrrf
Recursive least mean-squares equalization object
Public Functions
eqrls_rrrf | eqrls_rrrf_create( |
eqrls_rrrf | eqrls_rrrf_recreate( |
eqrls_rrrf | eqrls_rrrf_copy( |
int | eqrls_rrrf_destroy( |
int | eqrls_rrrf_reset( |
int | eqrls_rrrf_print( |
float | eqrls_rrrf_get_bw( |
int | eqrls_rrrf_set_bw( |
int | eqrls_rrrf_push( |
int | eqrls_rrrf_execute( |
int | eqrls_rrrf_step( |
int | eqrls_rrrf_get_weights( |
int | eqrls_rrrf_train( |
Interfaces
eqrls_rrrf eqrls_rrrf_create(
Create RLS EQ initialized with external coefficients
- _h : filter coefficients; set to NULL for {1,0,0...}, shape: (_n, 1)
- _n : filter length
eqrls_rrrf eqrls_rrrf_recreate(
Re-create EQ initialized with external coefficients
- _q : equalizer object
- _h : filter coefficients (NULL for {1,0,0...}), shape: (_n, 1)
- _n : filter length
eqrls_rrrf eqrls_rrrf_copy(
Copy object including all internal objects and state
int eqrls_rrrf_destroy(
Destroy equalizer object, freeing all internal memory
int eqrls_rrrf_reset(
Reset equalizer object, clearing internal state
int eqrls_rrrf_print(
Print equalizer internal state
float eqrls_rrrf_get_bw(
Get equalizer learning rate
int eqrls_rrrf_set_bw(
Set equalizer learning rate
- _q : equalizer object
- _mu : learning rate, 0 < _mu
int eqrls_rrrf_push(
Push sample into equalizer internal buffer
- _q : equalizer object
- _x : input sample
int eqrls_rrrf_execute(
Execute internal dot product and return result
- _q : equalizer object
- _y : output sample
int eqrls_rrrf_step(
Step through one cycle of equalizer training
- _q : equalizer object
- _d : desired output
- _d_hat : actual output
int eqrls_rrrf_get_weights(
Get equalizer's internal coefficients
- _q : equalizer object
- _w : weights, shape: (_p, 1)
int eqrls_rrrf_train(
Train equalizer object on group of samples
- _q : equalizer object
- _w : input/output weights, shape: (_p, 1)
- _x : received sample vector, shape: (_n, 1)
- _d : desired output vector, shape: (_n, 1)
- _n : input, output vector length