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

PLearn::MatrixInverseVariable Class Reference

#include <MatrixInverseVariable.h>

Inheritance diagram for PLearn::MatrixInverseVariable:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MatrixInverseVariable ()
 Default constructor for persistence.

 MatrixInverseVariable (Variable *input)
 PLEARN_DECLARE_OBJECT (MatrixInverseVariable)
virtual void recomputeSize (int &l, int &w) const
 Recomputes the length l and width w that this variable should have, according to its parent variables.

virtual void fprop ()
 compute output given input

virtual void bprop ()
virtual void symbolicBprop ()
 compute a piece of new Var graph that represents the symbolic derivative of this Var


Private Types

typedef UnaryVariable inherited

Detailed Description

* Matrix inversions... *

Definition at line 54 of file MatrixInverseVariable.h.


Member Typedef Documentation

typedef UnaryVariable PLearn::MatrixInverseVariable::inherited [private]
 

Reimplemented from PLearn::UnaryVariable.

Definition at line 56 of file MatrixInverseVariable.h.

Referenced by MatrixInverseVariable().


Constructor & Destructor Documentation

PLearn::MatrixInverseVariable::MatrixInverseVariable  )  [inline]
 

Default constructor for persistence.

Definition at line 60 of file MatrixInverseVariable.h.

PLearn::MatrixInverseVariable::MatrixInverseVariable Variable input  ) 
 

Definition at line 55 of file MatrixInverseVariable.cc.

References inherited.


Member Function Documentation

void PLearn::MatrixInverseVariable::bprop  )  [virtual]
 

Implements PLearn::Variable.

Definition at line 74 of file MatrixInverseVariable.cc.

References PLERROR.

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

compute output given input

Implements PLearn::Variable.

Definition at line 68 of file MatrixInverseVariable.cc.

References PLearn::inverse().

PLearn::MatrixInverseVariable::PLEARN_DECLARE_OBJECT MatrixInverseVariable   ) 
 

void PLearn::MatrixInverseVariable::recomputeSize int l,
int w
const [virtual]
 

Recomputes the length l and width w that this variable should have, according to its parent variables.

This is used for ex. by sizeprop() The default version stupidly returns the current dimensions, so make sure to overload it in subclasses if this is not appropriate.

Reimplemented from PLearn::Variable.

Definition at line 59 of file MatrixInverseVariable.cc.

References PLearn::Var::length(), and PLearn::Var::width().

void PLearn::MatrixInverseVariable::symbolicBprop  )  [virtual]
 

compute a piece of new Var graph that represents the symbolic derivative of this Var

Reimplemented from PLearn::Variable.

Definition at line 80 of file MatrixInverseVariable.cc.

References PLERROR.


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