GNU Radio's BLOCKSTREAM Package
gr::blocksat::exponentiate_const_cci Class Referenceabstract

Exponentiates a complex stream with an integer exponent. More...

#include <exponentiate_const_cci.h>

Inheritance diagram for gr::blocksat::exponentiate_const_cci:
gr::blocksat::exponentiate_const_cci_impl

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)
 

Detailed Description

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.

Member Typedef Documentation

Member Function Documentation

static sptr gr::blocksat::exponentiate_const_cci::make ( int  exponent,
size_t  vlen = 1 
)
static
virtual void gr::blocksat::exponentiate_const_cci::set_exponent ( int  exponent)
pure virtual

The documentation for this class was generated from the following file: