SawtoothFunction Class Reference
Inheritance diagram for SawtoothFunction:

Public Member Functions | |
SawtoothFunction (double phase=0.0, double span=1.0, double amplitude=1.0) | |
Construct. | |
virtual | ~SawtoothFunction () |
Destructor. | |
virtual void | apply (DoubleVector &inputs, DoubleVector &outputs) |
Implement the Sawtooth function. | |
virtual void | configure (ConfigurationParameters ¶ms, QString prefix) |
Configures the object using a ConfigurationParameters object. | |
virtual void | save (ConfigurationParameters ¶ms, QString prefix) |
Save the actual status of parameters into the ConfigurationParameters object passed. |
Detailed Description
Definition at line 76 of file libperiodicfunctions.h.
Constructor & Destructor Documentation
SawtoothFunction | ( | double | phase = 0.0 , |
double | span = 1.0 , |
||
double | amplitude = 1.0 |
||
) |
Construct.
Definition at line 75 of file libperiodicfunctions.cpp.
virtual ~SawtoothFunction | ( | ) | [inline, virtual] |
Destructor.
Definition at line 81 of file libperiodicfunctions.h.
Member Function Documentation
void apply | ( | DoubleVector & | inputs, |
DoubleVector & | outputs | ||
) | [virtual] |
Implement the Sawtooth function.
Implements PeriodicFunction.
Definition at line 79 of file libperiodicfunctions.cpp.
References DoubleVector::size().
void configure | ( | ConfigurationParameters & | params, |
QString | prefix | ||
) | [virtual] |
Configures the object using a ConfigurationParameters object.
- Parameters:
-
params the configuration parameters object with parameters to use prefix the prefix to use to access the object configuration parameters. This is guaranteed to end with the separator character when called by the factory, so you don't need to add one
Reimplemented from PeriodicFunction.
Definition at line 86 of file libperiodicfunctions.cpp.
void save | ( | ConfigurationParameters & | params, |
QString | prefix | ||
) | [virtual] |
Save the actual status of parameters into the ConfigurationParameters object passed.
- Parameters:
-
params the configuration parameters object on which save actual parameters prefix the prefix to use to access the object configuration parameters.
Reimplemented from PeriodicFunction.
Definition at line 92 of file libperiodicfunctions.cpp.
References ConfigurationParameters::startObjectParameters().
The documentation for this class was generated from the following files:
- nnfw/include/libperiodicfunctions.h
- nnfw/src/libperiodicfunctions.cpp