itpp_sci  1.0.0
it++ based simulation framework for scicoslab, scilab and scipy
Public Member Functions | Public Attributes | List of all members
SIM::ejp Class Reference

normalized phase to complex [I,Q] sine converter
Core function: SIM::ejp.process()
More...

Inheritance diagram for SIM::ejp:
Inheritance graph
[legend]

Public Member Functions

 ejp ()
 
 ~ejp ()
 
void set_output (complexd yout)
 
complexd get_output (void)
 
cvec process (const bvec &ce, const vec &x)
 

Public Attributes

complexd y0
 

Detailed Description

normalized phase to complex [I,Q] sine converter
Core function: SIM::ejp.process()

ejp - exp(j*2pi*x) = cos(2pi*x)+jsin(2pi*x)

Constructor & Destructor Documentation

SIM::ejp::ejp ( )
inline
SIM::ejp::~ejp ( )
inline

Member Function Documentation

complexd SIM::ejp::get_output ( void  )

get output

Returns
- [complex] y0
cvec SIM::ejp::process ( const bvec &  ce,
const vec &  x 
)

process input samples - [x] for active clock ticks [ce]

Parameters
ce- [bvec] clock_enable vector
x- [vec] input vector - double fractional
Returns
y - [cvec] = [cos(2pi*x)+jsin(2pi*x)]
void SIM::ejp::set_output ( complexd  yout)

set output value y0

Parameters
[in]yout- [complex] => y0

Member Data Documentation

complexd SIM::ejp::y0

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