PLearn 0.1
|
#include <MatrixInverseVariable.h>
Public Member Functions | |
MatrixInverseVariable () | |
Default constructor for persistence. | |
MatrixInverseVariable (Variable *input) | |
virtual string | classname () const |
virtual OptionList & | getOptionList () const |
virtual OptionMap & | getOptionMap () const |
virtual RemoteMethodMap & | getRemoteMethodMap () const |
virtual MatrixInverseVariable * | deepCopy (CopiesMap &copies) const |
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 () |
Nothing to do by default. | |
virtual void | bprop () |
Nothing to do by default. | |
virtual void | symbolicBprop () |
compute a piece of new Var graph that represents the symbolic derivative of this Var | |
Static Public Member Functions | |
static string | _classname_ () |
MatrixInverseVariable. | |
static OptionList & | _getOptionList_ () |
static RemoteMethodMap & | _getRemoteMethodMap_ () |
static Object * | _new_instance_for_typemap_ () |
static bool | _isa_ (const Object *o) |
static void | _static_initialize_ () |
static const PPath & | declaringFile () |
Static Public Attributes | |
static StaticInitializer | _static_initializer_ |
Private Types | |
typedef UnaryVariable | inherited |
* Matrix inversions... *
Definition at line 54 of file MatrixInverseVariable.h.
typedef UnaryVariable PLearn::MatrixInverseVariable::inherited [private] |
Reimplemented from PLearn::UnaryVariable.
Definition at line 56 of file MatrixInverseVariable.h.
PLearn::MatrixInverseVariable::MatrixInverseVariable | ( | ) | [inline] |
PLearn::MatrixInverseVariable::MatrixInverseVariable | ( | Variable * | input | ) |
string PLearn::MatrixInverseVariable::_classname_ | ( | ) | [static] |
Reimplemented from PLearn::UnaryVariable.
Definition at line 53 of file MatrixInverseVariable.cc.
OptionList & PLearn::MatrixInverseVariable::_getOptionList_ | ( | ) | [static] |
Reimplemented from PLearn::UnaryVariable.
Definition at line 53 of file MatrixInverseVariable.cc.
RemoteMethodMap & PLearn::MatrixInverseVariable::_getRemoteMethodMap_ | ( | ) | [static] |
Reimplemented from PLearn::UnaryVariable.
Definition at line 53 of file MatrixInverseVariable.cc.
Reimplemented from PLearn::UnaryVariable.
Definition at line 53 of file MatrixInverseVariable.cc.
Object * PLearn::MatrixInverseVariable::_new_instance_for_typemap_ | ( | ) | [static] |
Reimplemented from PLearn::UnaryVariable.
Definition at line 53 of file MatrixInverseVariable.cc.
StaticInitializer MatrixInverseVariable::_static_initializer_ & PLearn::MatrixInverseVariable::_static_initialize_ | ( | ) | [static] |
Reimplemented from PLearn::UnaryVariable.
Definition at line 53 of file MatrixInverseVariable.cc.
void PLearn::MatrixInverseVariable::bprop | ( | ) | [virtual] |
Nothing to do by default.
Reimplemented from PLearn::UnaryVariable.
Definition at line 74 of file MatrixInverseVariable.cc.
References PLERROR.
{ PLERROR("MatrixInverseVariable: bprop not implemented yet"); }
string PLearn::MatrixInverseVariable::classname | ( | ) | const [virtual] |
Reimplemented from PLearn::UnaryVariable.
Definition at line 53 of file MatrixInverseVariable.cc.
static const PPath& PLearn::MatrixInverseVariable::declaringFile | ( | ) | [inline, static] |
MatrixInverseVariable * PLearn::MatrixInverseVariable::deepCopy | ( | CopiesMap & | copies | ) | const [virtual] |
Reimplemented from PLearn::UnaryVariable.
Definition at line 53 of file MatrixInverseVariable.cc.
void PLearn::MatrixInverseVariable::fprop | ( | ) | [virtual] |
Nothing to do by default.
Reimplemented from PLearn::UnaryVariable.
Definition at line 68 of file MatrixInverseVariable.cc.
References PLearn::UnaryVariable::input, PLearn::inverse(), and PLearn::Variable::matValue.
OptionList & PLearn::MatrixInverseVariable::getOptionList | ( | ) | const [virtual] |
Reimplemented from PLearn::UnaryVariable.
Definition at line 53 of file MatrixInverseVariable.cc.
OptionMap & PLearn::MatrixInverseVariable::getOptionMap | ( | ) | const [virtual] |
Reimplemented from PLearn::UnaryVariable.
Definition at line 53 of file MatrixInverseVariable.cc.
RemoteMethodMap & PLearn::MatrixInverseVariable::getRemoteMethodMap | ( | ) | const [virtual] |
Reimplemented from PLearn::UnaryVariable.
Definition at line 53 of file MatrixInverseVariable.cc.
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::UnaryVariable::input, 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.
{ PLERROR("MatrixInverseVariable: symbolicBprop not implemented yet"); }
Reimplemented from PLearn::UnaryVariable.
Definition at line 63 of file MatrixInverseVariable.h.