#include <itpp/base/source.h>
Public Member Functions | |
Sawtooth_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 109 of file source.h.
itpp::Sawtooth_Source::Sawtooth_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 177 of file source.cpp.
References itpp::pi.
double itpp::Sawtooth_Source::operator() | ( | ) | [inline] |
vec itpp::Sawtooth_Source::operator() | ( | int | n | ) |
mat itpp::Sawtooth_Source::operator() | ( | int | h, | |
int | w | |||
) |
Generated on Wed Mar 21 12:22:21 2007 for IT++ by Doxygen 1.4.7