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

two input mixer
Core function: SIM::mix.process()
More...

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

Public Member Functions

 mix ()
 
 ~mix ()
 
void set_output (double yout)
 
double get_output (void)
 
vec process (const bvec &ce, const mat &x)
 

Public Attributes

double y0
 

Detailed Description

two input mixer
Core function: SIM::mix.process()

Constructor & Destructor Documentation

SIM::mix::mix ( )
inline
SIM::mix::~mix ( )
inline

Member Function Documentation

double SIM::mix::get_output ( void  )

get output state y0

Returns
- [double] y0
vec SIM::mix::process ( const bvec &  ce,
const mat &  x 
)

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

Parameters
ce[bvec] clock_enable vector
x[mat] [x1|x2] - input matrix
Returns
y [vec] y = (x1*x2)
void SIM::mix::set_output ( double  yout)

set output state y0

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

Member Data Documentation

double SIM::mix::y0

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