#include <itpp/base/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. | |
Definition at line 69 of file source.h.
| itpp::Square_Source::Square_Source | ( | double | freq, | |
| double | mean = 0.0, |
|||
| double | ampl = 1.0, |
|||
| double | inphase = 0.0 | |||
| ) |
Constructor. Set frequency, mean, amplitude, and start phase.
Definition at line 87 of file source.cpp.
References itpp::pi.
| double itpp::Square_Source::operator() | ( | ) | [inline] |
| vec itpp::Square_Source::operator() | ( | int | n | ) |
| mat itpp::Square_Source::operator() | ( | int | h, | |
| int | w | |||
| ) |
Generated on Wed Apr 18 11:23:40 2007 for IT++ by Doxygen 1.5.2