Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

PLearn::MatrixAffineTransformFeedbackVariable Class Reference

Affine transformation of a MATRIX variable. More...

#include <MatrixAffineTransformFeedbackVariable.h>

Inheritance diagram for PLearn::MatrixAffineTransformFeedbackVariable:

Inheritance graph
[legend]
Collaboration diagram for PLearn::MatrixAffineTransformFeedbackVariable:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MatrixAffineTransformFeedbackVariable ()
 Default constructor for persistence.

 MatrixAffineTransformFeedbackVariable (Variable *g, Variable *input)
 PLEARN_DECLARE_OBJECT (MatrixAffineTransformFeedbackVariable)
virtual void fprop ()
 compute output given input

virtual void bprop ()

Private Types

typedef BinaryVariable inherited

Detailed Description

Affine transformation of a MATRIX variable.

Should work for both column and row vectors: result vector will be of same kind (row or col) First row of transformation matrix contains bias b, following rows contain linear-transformation T Will compute b + x.T which is equivalent to b +

Definition at line 57 of file MatrixAffineTransformFeedbackVariable.h.


Member Typedef Documentation

typedef BinaryVariable PLearn::MatrixAffineTransformFeedbackVariable::inherited [private]
 

Reimplemented from PLearn::BinaryVariable.

Definition at line 59 of file MatrixAffineTransformFeedbackVariable.h.


Constructor & Destructor Documentation

PLearn::MatrixAffineTransformFeedbackVariable::MatrixAffineTransformFeedbackVariable  )  [inline]
 

Default constructor for persistence.

Definition at line 63 of file MatrixAffineTransformFeedbackVariable.h.

PLearn::MatrixAffineTransformFeedbackVariable::MatrixAffineTransformFeedbackVariable Variable g,
Variable input
[inline]
 

Definition at line 64 of file MatrixAffineTransformFeedbackVariable.h.


Member Function Documentation

virtual void PLearn::MatrixAffineTransformFeedbackVariable::bprop  )  [inline, virtual]
 

Implements PLearn::Variable.

Definition at line 72 of file MatrixAffineTransformFeedbackVariable.h.

void PLearn::MatrixAffineTransformFeedbackVariable::fprop  )  [virtual]
 

compute output given input

Implements PLearn::Variable.

Definition at line 59 of file MatrixAffineTransformFeedbackVariable.cc.

References PLearn::TMat< T >::firstRow(), PLearn::Var::length(), PLearn::TMat< T >::length(), PLearn::Mat, PLearn::productTransposeAcc(), PLearn::TMat< T >::subMatRows(), PLearn::Vec, and PLearn::Var::width().

PLearn::MatrixAffineTransformFeedbackVariable::PLEARN_DECLARE_OBJECT MatrixAffineTransformFeedbackVariable   ) 
 


The documentation for this class was generated from the following files:
Generated on Tue Aug 17 16:25:08 2004 for PLearn by doxygen 1.3.7