|
GNU Radio's DAB Package
|
Sum up all elements of a vector. More...
#include <dab_sum_elements_vff.h>
Public Member Functions | |
| int | work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) |
Friends | |
| dab_sum_elements_vff_sptr | dab_make_sum_elements_vff (unsigned int length) |
| Return a shared_ptr to a new instance of dab_sum_elements_vff. | |
Sum up all elements of a vector.
| length | length of the vector |
![\[ y[k] = \sum_{i=1}^n x_i[k]\]](form_0.png)
input: float vector output: float
| int dab_sum_elements_vff::work | ( | int | noutput_items, |
| gr_vector_const_void_star & | input_items, | ||
| gr_vector_void_star & | output_items ) |
|
friend |
Return a shared_ptr to a new instance of dab_sum_elements_vff.
To avoid accidental use of raw pointers, dab_sum_elements_vff's constructor is private. dab_make_sum_elements_vff is the public interface for creating new instances.