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

amplitude,phase -> (i+jq)
Core function SIM::ap2iq.process()
More...

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

Public Member Functions

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

Public Attributes

complexd y0
 

Detailed Description

amplitude,phase -> (i+jq)
Core function SIM::ap2iq.process()

(i+jq) = A*exp(j*phase)

Constructor & Destructor Documentation

SIM::ap2iq::ap2iq ( )
inline
SIM::ap2iq::~ap2iq ( )
inline

Member Function Documentation

complexd SIM::ap2iq::get_output ( void  )

get output value y0

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

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

Parameters
[in]ce[bvec] clock_enable vector
[in]x[mat] input vector [a,ph]
Returns
y [cvec] output vector y = [I+jQ]
void SIM::ap2iq::set_output ( complexd  yout)

set output value y0

Parameters
[in]yout- [complex] y0

Member Data Documentation

complexd SIM::ap2iq::y0

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