PLearn 0.1
Classes | Namespaces | Functions
IsAboveThresholdVariable.h File Reference
#include "UnaryVariable.h"
Include dependency graph for IsAboveThresholdVariable.h:
This graph shows which files directly or indirectly include this file:

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)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines