#include <SDBVMat.h>
Inheritance diagram for PLearn::SDBVMFieldSignedPower:
Public Member Functions | |
SDBVMFieldSignedPower (SDBVMSource source, real a, 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_ |
Private Types | |
typedef SDBVMFieldSource1 | inherited |
Definition at line 424 of file SDBVMat.h.
|
Reimplemented from PLearn::SDBVMFieldSource1. |
|
Definition at line 429 of file SDBVMat.h. References PLERROR. |
|
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 386 of file SDBVMat.cc. References a_, PLearn::SDBVMSource::getValue(), PLearn::mypow(), PLearn::Vec, and x. |
|
Width that the field occupies in the VMat.
Implements PLearn::SDBVMField. Definition at line 395 of file SDBVMat.cc. |
|
Definition at line 444 of file SDBVMat.h. Referenced by convertField(). |