|
latest version v1.9 - last update 10 Apr 2010 |
|
Checks the validity of a matrix or vector with float or double elements. More...
#include <ltiValidator.h>


Classes | |
| class | parameters |
| the parameters for the class validator More... | |
Public Member Functions | |
| validator () | |
| validator (const validator &other) | |
| virtual | ~validator () |
| virtual const char * | getTypeName () const |
| bool | apply (const vector< double > &src) const |
| bool | apply (const vector< float > &src) const |
| bool | apply (const matrix< double > &src) const |
| bool | apply (const matrix< float > &src) const |
| validator & | copy (const validator &other) |
| validator & | operator= (const validator &other) |
| virtual functor * | clone () const |
| const parameters & | getParameters () const |
Checks the validity of a matrix or vector with float or double elements.
A matrix is invalid, if it contains nan or inf elements. Otherwise, it is assumed to be valid.
| lti::validator::validator | ( | ) |
default constructor
| lti::validator::validator | ( | const validator & | other | ) |
copy constructor
| other | the object to be copied |
| virtual lti::validator::~validator | ( | ) | [virtual] |
destructor
| bool lti::validator::apply | ( | const matrix< float > & | src | ) | const |
operates on the given parameter.
| src | matrix<float> with the source data. |
| bool lti::validator::apply | ( | const matrix< double > & | src | ) | const |
operates on the given parameter.
| src | matrix<double> with the source data. |
| bool lti::validator::apply | ( | const vector< float > & | src | ) | const |
operates on the given parameter.
| src | vector<float> with the source data. |
| bool lti::validator::apply | ( | const vector< double > & | src | ) | const |
operates on the given parameter.
| src | vector<double> with the source data. |
| virtual functor* lti::validator::clone | ( | ) | const [virtual] |
returns a pointer to a clone of this functor.
Implements lti::functor.
copy data of "other" functor.
| other | the functor to be copied |
Reimplemented from lti::functor.
| const parameters& lti::validator::getParameters | ( | ) | const |
returns used parameters
Reimplemented from lti::functor.
| virtual const char* lti::validator::getTypeName | ( | ) | const [virtual] |
returns the name of this type ("validator")
Reimplemented from lti::functor.