#include <SDBVMat.h>
Inheritance diagram for PLearn::SDBVMFieldPosAffine:
Public Member Functions | |
SDBVMFieldPosAffine (SDBVMSource source, real a, real b=0.0, 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 | |
real | a_ |
real | b_ |
Private Types | |
typedef SDBVMFieldSource1 | inherited |
Definition at line 404 of file SDBVMat.h.
|
Reimplemented from PLearn::SDBVMFieldSource1. |
|
|
|
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 370 of file SDBVMat.cc. References a_, b_, PLearn::SDBVMSource::getValue(), and PLearn::Vec. |
|
Width that the field occupies in the VMat.
Implements PLearn::SDBVMField. Definition at line 377 of file SDBVMat.cc. |
|
Definition at line 419 of file SDBVMat.h. Referenced by convertField(). |
|
Definition at line 419 of file SDBVMat.h. Referenced by convertField(). |