GNU Radio 3.7.1 C++ API
|
Compares vectors from multiple streams and determines the index in the vector and stream number where the maximum value occurred. More...
#include <argmax_fs.h>
Public Types | |
typedef boost::shared_ptr < argmax_fs > | sptr |
Static Public Member Functions | |
static sptr | make (size_t vlen) |
Compares vectors from multiple streams and determines the index in the vector and stream number where the maximum value occurred.
Data is passed in as a vector of length vlen
from multiple input sources. It will look through these streams of vlen
data items and output two streams. Stream 0 will contain the index value in the vector where the maximum value occurred. Stream 1 will contain the number of the input stream that held the maximum value.
static sptr gr::blocks::argmax_fs::make | ( | size_t | vlen | ) | [static] |