#include <SDBVMat.h>
Inheritance diagram for PLearn::SDBVMFieldFunc2:
Public Member Functions | |
SDBVMFieldFunc2 (SDBVMSource source1, SDBVMSource source2, Func func, real missing_values_mapping=MISSING_VALUE) | |
virtual void | convertField (const SDBWithStats &sdb, const Row &row, const Vec &output) const |
virtual int | fieldWidth () const |
Width that the field occupies in the VMat. | |
Protected Attributes | |
Func | func_ |
Private Types | |
typedef SDBVMFieldSource2 | inherited |
Definition at line 480 of file SDBVMat.h.
|
Reimplemented from PLearn::SDBVMFieldSource2. |
|
|
|
Given a database row, convert the appropriate parts to a (preallocated) output vector of the correct width (given by fieldWidth). Replace MISSING_VALUEs by missing_values_mapping. Implements PLearn::SDBVMField. Definition at line 423 of file SDBVMat.cc. References func_, PLearn::SDBVMSource::getValue(), and PLearn::Vec. |
|
Width that the field occupies in the VMat.
Implements PLearn::SDBVMField. Definition at line 433 of file SDBVMat.cc. |
|
Definition at line 495 of file SDBVMat.h. Referenced by convertField(). |