24#ifndef MULTIPLY_MATRIX_H
25#define MULTIPLY_MATRIX_H
73 typedef boost::shared_ptr<multiply_matrix<T>>
sptr;
84 static sptr make(std::vector<std::vector<T>> A,
89 virtual const std::vector<std::vector<T>>&
get_A()
const = 0;
92 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 block.h:80
@ TPP_ALL_TO_ALL
Definition block.h:83
Matrix multiplexer/multiplier: y(k) = A x(k)
Definition multiply_matrix.h:71
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:94
static sptr make(std::vector< std::vector< T > > A, gr::block::tag_propagation_policy_t tag_propagation_policy=gr::block::TPP_ALL_TO_ALL)
boost::shared_ptr< multiply_matrix< T > > sptr
Definition multiply_matrix.h:73
synchronous 1:1 input to output with history
Definition sync_block.h:38
#define BLOCKS_API
Definition gr-blocks/include/gnuradio/blocks/api.h:30
multiply_matrix< gr_complex > multiply_matrix_cc
Definition multiply_matrix.h:98
multiply_matrix< float > multiply_matrix_ff
Definition multiply_matrix.h:97
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition basic_block.h:46