#include <RegularGridVMatrix.h>
Inheritance diagram for PLearn::RegularGridVMatrix:
Public Member Functions | |
RegularGridVMatrix () | |
RegularGridVMatrix (TVec< int > the_dimensions, TVec< pair< real, real > > the_range) | |
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 (RegularGridVMatrix) | |
Declares name and deepCopy methods. | |
Public Attributes | |
TVec< int > | dimensions |
TVec< pair< real, real > > | range |
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. | |
Private Types | |
typedef RowBufferedVMatrix | inherited |
Private Member Functions | |
void | build_ () |
This does the actual building. |
|
Reimplemented from PLearn::RowBufferedVMatrix. Definition at line 51 of file RegularGridVMatrix.h. |
|
Definition at line 47 of file RegularGridVMatrix.cc. |
|
Definition at line 55 of file RegularGridVMatrix.cc. References build_(), and std::copy(). |
|
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::VMatrix. Definition at line 117 of file RegularGridVMatrix.cc. References build_(). |
|
This does the actual building.
Reimplemented from PLearn::VMatrix. Definition at line 104 of file RegularGridVMatrix.cc. References dimensions, PLearn::TVec< int >::length(), and PLearn::product(). Referenced by build(), and RegularGridVMatrix(). |
|
Declares this class' options.
Reimplemented from PLearn::VMatrix. Definition at line 81 of file RegularGridVMatrix.cc. References PLearn::declareOption(), and PLearn::OptionList. |
|
This is the only method requiring implementation.
Implements PLearn::RowBufferedVMatrix. Definition at line 65 of file RegularGridVMatrix.cc. References dimensions, PLearn::TVec< pair< real, real > >::first(), k, PLearn::VMatrix::length(), PLearn::TVec< T >::length(), PLERROR, range, PLearn::Vec, and PLearn::VMatrix::width(). |
|
Transforms a shallow copy into a deep copy.
Reimplemented from PLearn::RowBufferedVMatrix. Definition at line 123 of file RegularGridVMatrix.cc. References PLearn::deepCopyField(), dimensions, and range. |
|
Declares name and deepCopy methods.
|
|
Definition at line 63 of file RegularGridVMatrix.h. Referenced by build_(), getNewRow(), and makeDeepCopyFromShallowCopy(). |
|
Definition at line 64 of file RegularGridVMatrix.h. Referenced by getNewRow(), and makeDeepCopyFromShallowCopy(). |