GNU Radio's BLOCKSTREAM Package
|
Exponentiates a complex stream with an integer exponent. More...
#include <exponentiate_const_cci.h>
Public Types | |
typedef boost::shared_ptr < exponentiate_const_cci > | sptr |
Public Member Functions | |
virtual void | set_exponent (int exponent)=0 |
Static Public Member Functions | |
static sptr | make (int exponent, size_t vlen=1) |
Exponentiates a complex stream with an integer exponent.
This block raises a complex stream to an integer exponent. The exponent must be at least 1. There is a callback function so the exponent can be changed at runtime.
NOTE: The algorithm uses iterative multiplication to achieve exponentiation, hence it is O(exponent). Therefore, this block could be inefficient for large exponents.
typedef boost::shared_ptr<exponentiate_const_cci> gr::blocksat::exponentiate_const_cci::sptr |
|
static |
|
pure virtual |
Implemented in gr::blocksat::exponentiate_const_cci_impl.