Darwin  1.10(beta)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
drwnIdentityFeatureMap Class Reference

Copies input feature space to output feature space. More...

Inheritance diagram for drwnIdentityFeatureMap:
drwnFeatureMap drwnTypeable drwnCloneable

Public Member Functions

 drwnIdentityFeatureMap (int nFeatures)
 
const char * type () const
 returns object type as a string (e.g., Foo::type() { return "Foo"; })
 
drwnIdentityFeatureMapclone () const
 returns a copy of the class usually implemented as virtual Foo* clone() { return new Foo(*this); }
 
int numParameters () const
 returns the number of features in the output space
 
vector< double > operator() (const vector< double > &x) const
 feature vector
 
double dot (const vector< double > &theta, const vector< double > &x) const
 dot product
 
void mac (vector< double > &theta, const vector< double > &x, double alpha) const
 multiply-accumulate
 
- Public Member Functions inherited from drwnFeatureMap
 drwnFeatureMap ()
 default constructor
 
 drwnFeatureMap (int nFeatures)
 construct with known number of input features
 
virtual ~drwnFeatureMap ()
 destructor
 
int numFeatures () const
 returns the number of features in the input space
 
virtual void initialize (int nFeatures)
 initialize number of (intput) features
 

Additional Inherited Members

- Protected Attributes inherited from drwnFeatureMap
int _nFeatures
 number of input features
 

Detailed Description

Copies input feature space to output feature space.


The documentation for this class was generated from the following file: