#include <CenteredVMatrix.h>
Inheritance diagram for PLearn::CenteredVMatrix:
Public Member Functions | |
CenteredVMatrix () | |
Default constructor. | |
CenteredVMatrix (VMat the_source) | |
Constructed from an existing source matrix. | |
Vec | getMu () const |
Return the mean sample mu. | |
virtual void | build () |
Should call simply inherited::build(), then this class's build_(). | |
virtual void | makeDeepCopyFromShallowCopy (map< const void *, void * > &copies) |
Transforms a shallow copy into a deep copy. | |
PLEARN_DECLARE_OBJECT (CenteredVMatrix) | |
Declares name and deepCopy methods. | |
Protected Member Functions | |
virtual void | getNewRow (int i, const Vec &v) const |
This is the only method requiring implementation. | |
Static Protected Member Functions | |
void | declareOptions (OptionList &ol) |
Declares this class' options. | |
Protected Attributes | |
Vec | mu |
The sample mean. | |
Private Types | |
typedef SourceVMatrix | inherited |
Private Member Functions | |
void | build_ () |
This does the actual building. |
|
Reimplemented from PLearn::SourceVMatrix. Definition at line 57 of file CenteredVMatrix.h. |
|
Default constructor.
Definition at line 53 of file CenteredVMatrix.cc. |
|
Constructed from an existing source matrix.
Definition at line 57 of file CenteredVMatrix.cc. References build(). |
|
Should call simply inherited::build(), then this class's build_(). This method should be callable again at later times, after modifying some option fields to change the "architecture" of the object. Reimplemented from PLearn::SourceVMatrix. Definition at line 89 of file CenteredVMatrix.cc. References build_(). Referenced by CenteredVMatrix(). |
|
This does the actual building.
Reimplemented from PLearn::SourceVMatrix. Definition at line 99 of file CenteredVMatrix.cc. References PLearn::computeMean(), mu, and PLearn::SourceVMatrix::setMetaInfoFromSource(). Referenced by build(). |
|
Declares this class' options.
Reimplemented from PLearn::SourceVMatrix. Definition at line 70 of file CenteredVMatrix.cc. References PLearn::declareOption(), and PLearn::OptionList. |
|
Return the mean sample mu.
Definition at line 119 of file CenteredVMatrix.cc. References mu. |
|
This is the only method requiring implementation.
Reimplemented from PLearn::SourceVMatrix. Definition at line 126 of file CenteredVMatrix.cc. References mu. |
|
Transforms a shallow copy into a deep copy.
Reimplemented from PLearn::SourceVMatrix. Definition at line 135 of file CenteredVMatrix.cc. References PLERROR. |
|
Declares name and deepCopy methods.
|
|
The sample mean.
Definition at line 68 of file CenteredVMatrix.h. Referenced by build_(), getMu(), and getNewRow(). |