Argmax

From GNU Radio
Revision as of 03:18, 29 December 2018 by 777arc (talk | contribs) (Created page with "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 ''vl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 data items and output two streams:

  1. Stream 0 will contain the index value in the vector where the maximum value occurred.
  2. Stream 1 will contain the number of the input stream that held the maximum value.