IT++ Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
itpp::Square_Source Class Reference

Square-wave source. More...

#include <itpp/signal/source.h>

Public Member Functions

 Square_Source (double freq, double mean=0.0, double ampl=1.0, double inphase=0.0)
 Constructor. Set frequency, mean, amplitude, and start phase.
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

Square-wave source.

Definition at line 65 of file source.h.


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

Generated on Fri Mar 21 2014 17:14:16 for IT++ by Doxygen 1.8.1.2