#include <RangeVMatrix.h>
Inheritance diagram for PLearn::RangeVMatrix:
Public Member Functions | |
RangeVMatrix () | |
default constructor (for automatic deserialization) | |
RangeVMatrix (real the_start, real the_end, real the_step=1.0) | |
PLEARN_DECLARE_OBJECT (RangeVMatrix) | |
virtual void | build () |
Should call simply inherited::build(), then this class's build_(). | |
virtual real | get (int i, int j) const |
returns element (i,j) | |
Static Public Member Functions | |
void | declareOptions (OptionList &ol) |
redefine this in subclasses: call declareOption(...) for each option, and then call inherited::declareOptions(options) ( see the declareOption function further down) | |
Protected Attributes | |
real | start |
real | end |
real | step |
Private Types | |
typedef VMatrix | inherited |
Private Member Functions | |
void | build_ () |
This does the actual building. |
Definition at line 54 of file RangeVMatrix.h.
|
Reimplemented from PLearn::VMatrix. Definition at line 56 of file RangeVMatrix.h. |
|
default constructor (for automatic deserialization)
Definition at line 50 of file RangeVMatrix.cc. |
|
Definition at line 55 of file RangeVMatrix.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::VMatrix. Definition at line 62 of file RangeVMatrix.cc. References build_(). Referenced by RangeVMatrix(). |
|
This does the actual building.
Reimplemented from PLearn::VMatrix. Definition at line 69 of file RangeVMatrix.cc. References end, start, and step. Referenced by build(). |
|
redefine this in subclasses: call declareOption(...) for each option, and then call inherited::declareOptions(options) ( see the declareOption function further down) ex: static void declareOptions(OptionList& ol) { declareOption(ol, "inputsize", &MyObject::inputsize_, OptionBase::buildoption, "the size of the input\n it must be provided"); declareOption(ol, "weights", &MyObject::weights, OptionBase::learntoption, "the learnt model weights"); inherited::declareOptions(ol); } Reimplemented from PLearn::VMatrix. Definition at line 78 of file RangeVMatrix.cc. References PLearn::declareOption(), and PLearn::OptionList. |
|
returns element (i,j)
Reimplemented from PLearn::VMatrix. Definition at line 86 of file RangeVMatrix.cc. References PLearn::VMatrix::length(), PLERROR, start, and step. |
|
|
|
Definition at line 60 of file RangeVMatrix.h. Referenced by build_(). |
|
Definition at line 59 of file RangeVMatrix.h. |
|
Definition at line 61 of file RangeVMatrix.h. |