IT++ Logo Newcom Logo

itpp::Pattern_Source Class Reference
[Deterministic Sources]

An pattern source. More...

#include <itpp/base/source.h>

List of all members.

Public Member Functions

 Pattern_Source (const vec &pattern, int start_pos=0)
 Constructor. Set pattern and start position.
virtual ~Pattern_Source ()
 Destructor.
double operator() ()
 Return a single sample.
vec operator() (int n)
 Get a sample vector.
mat operator() (int h, int w)
 Get a sample matrix.


Detailed Description

An pattern source.

Definition at line 149 of file source.h.


Constructor & Destructor Documentation

itpp::Pattern_Source::Pattern_Source const vec pattern,
int  start_pos = 0
 

Constructor. Set pattern and start position.

Definition at line 271 of file source.cpp.

virtual itpp::Pattern_Source::~Pattern_Source  )  [inline, virtual]
 

Destructor.

Definition at line 154 of file source.h.


Member Function Documentation

double itpp::Pattern_Source::operator()  )  [inline]
 

Return a single sample.

Definition at line 156 of file source.h.

vec itpp::Pattern_Source::operator() int  n  ) 
 

Get a sample vector.

Definition at line 300 of file source.cpp.

mat itpp::Pattern_Source::operator() int  h,
int  w
 

Get a sample matrix.

Definition at line 310 of file source.cpp.


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

Generated on Thu Apr 19 14:20:02 2007 for IT++ by Doxygen 1.4.6