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

PLearn::TransposeVMatrix Class Reference

#include <TransposeVMatrix.h>

Inheritance diagram for PLearn::TransposeVMatrix:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TransposeVMatrix ()
 Default constructor.

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 (TransposeVMatrix)
 Declares name and deepCopy methods.


Protected Member Functions

virtual void getNewRow (int i, const Vec &v) const
 Fill the vector 'v' with the content of the i-th row.


Static Protected Member Functions

void declareOptions (OptionList &ol)
 Declares this class' options.


Private Types

typedef SourceVMatrix inherited

Private Member Functions

void build_ ()
 This does the actual building.


Member Typedef Documentation

typedef SourceVMatrix PLearn::TransposeVMatrix::inherited [private]
 

Reimplemented from PLearn::SourceVMatrix.

Definition at line 57 of file TransposeVMatrix.h.


Constructor & Destructor Documentation

PLearn::TransposeVMatrix::TransposeVMatrix  ) 
 

Default constructor.

Definition at line 52 of file TransposeVMatrix.cc.


Member Function Documentation

void PLearn::TransposeVMatrix::build  )  [virtual]
 

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 88 of file TransposeVMatrix.cc.

References build_().

void PLearn::TransposeVMatrix::build_  )  [private]
 

This does the actual building.

Reimplemented from PLearn::SourceVMatrix.

Definition at line 98 of file TransposeVMatrix.cc.

References PLearn::VMat::length(), PLearn::SourceVMatrix::setMetaInfoFromSource(), and PLearn::VMat::width().

Referenced by build().

void PLearn::TransposeVMatrix::declareOptions OptionList ol  )  [static, protected]
 

Declares this class' options.

Reimplemented from PLearn::SourceVMatrix.

Definition at line 68 of file TransposeVMatrix.cc.

References PLearn::OptionList.

void PLearn::TransposeVMatrix::getNewRow int  i,
const Vec v
const [protected, virtual]
 

Fill the vector 'v' with the content of the i-th row.

v is assumed to be the right size.

Reimplemented from PLearn::SourceVMatrix.

Definition at line 116 of file TransposeVMatrix.cc.

References PLearn::VMat::getColumn(), and PLearn::Vec.

void PLearn::TransposeVMatrix::makeDeepCopyFromShallowCopy map< const void *, void * > &  copies  )  [virtual]
 

Transforms a shallow copy into a deep copy.

Reimplemented from PLearn::SourceVMatrix.

Definition at line 124 of file TransposeVMatrix.cc.

References PLERROR.

PLearn::TransposeVMatrix::PLEARN_DECLARE_OBJECT TransposeVMatrix   ) 
 

Declares name and deepCopy methods.


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