PLearn 0.1
|
#include "UnaryVariable.h"
Go to the source code of this file.
Classes | |
class | PLearn::IsAboveThresholdVariable |
Does elementwise newx_i = (x_i>=threshold ?truevalue :falsevalue);. More... | |
class | PLearn::DiffTemplate< ObjectType, IsAboveThresholdVariable > |
class | PLearn::TypeTraits< IsAboveThresholdVariable > |
Namespaces | |
namespace | PLearn |
< for swap | |
Functions | |
Object * | PLearn::toObjectPtr (const IsAboveThresholdVariable &o) |
PStream & | PLearn::operator>> (PStream &in, IsAboveThresholdVariable &o) |
PStream & | PLearn::operator>> (PStream &in, IsAboveThresholdVariable *&o) |
PStream & | PLearn::operator<< (PStream &out, const IsAboveThresholdVariable &o) |
PStream & | PLearn::operator>> (PStream &in, PP< IsAboveThresholdVariable > &o) |
template<class ObjectType > | |
int | PLearn::diff (const string &refer, const string &other, const Option< ObjectType, IsAboveThresholdVariable > *opt, PLearnDiff *diffs) |
Var | PLearn::isAboveThreshold (Var v, real threshold=0, real truevalue=1, real falsevalue=0, bool strict=false) |
Var | PLearn::operator>= (Var v, real threshold) |
Var | PLearn::operator<= (Var v, real threshold) |