12#ifndef MULTIPLY_MATRIX_H
13#define MULTIPLY_MATRIX_H
61 typedef std::shared_ptr<multiply_matrix<T>>
sptr;
72 static sptr make(std::vector<std::vector<T>> A,
77 virtual const std::vector<std::vector<T>>&
get_A()
const = 0;
80 virtual bool set_A(
const std::vector<std::vector<T>>& new_A) = 0;
tag_propagation_policy_t
enum to represent different tag propagation policies.
Definition: gnuradio-runtime/include/gnuradio/block.h:71
@ TPP_ALL_TO_ALL
Definition: gnuradio-runtime/include/gnuradio/block.h:74
Matrix multiplexer/multiplier: y(k) = A x(k)
Definition: multiply_matrix.h:59
virtual bool set_A(const std::vector< std::vector< T > > &new_A)=0
Sets the matrix to a new value new_A. Returns true if the new matrix was valid and could be changed.
virtual const std::vector< std::vector< T > > & get_A() const =0
Returns the current matrix.
std::string MSG_PORT_NAME_SET_A
Definition: multiply_matrix.h:82
static sptr make(std::vector< std::vector< T > > A, gr::block::tag_propagation_policy_t tag_propagation_policy=gr::block::TPP_ALL_TO_ALL)
std::shared_ptr< multiply_matrix< T > > sptr
Definition: multiply_matrix.h:61
synchronous 1:1 input to output with history
Definition: sync_block.h:26
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:18
multiply_matrix< gr_complex > multiply_matrix_cc
Definition: multiply_matrix.h:86
multiply_matrix< float > multiply_matrix_ff
Definition: multiply_matrix.h:85
GNU Radio logging wrapper.
Definition: basic_block.h:29