GNU Radio 3.6.5 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_is.h>
Public Types | |
typedef boost::shared_ptr < argmax_is > | 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_is::make | ( | size_t | vlen | ) | [static] |