PLearn 0.1
|
#include "UnaryVariable.h"
Go to the source code of this file.
Classes | |
class | PLearn::SignVariable |
sign(x) = 1 if x>0, -1 if x<0, 0 if x=0, all done element by element. More... | |
class | PLearn::DiffTemplate< ObjectType, SignVariable > |
class | PLearn::TypeTraits< SignVariable > |
Namespaces | |
namespace | PLearn |
< for swap | |
Functions | |
Object * | PLearn::toObjectPtr (const SignVariable &o) |
PStream & | PLearn::operator>> (PStream &in, SignVariable &o) |
PStream & | PLearn::operator>> (PStream &in, SignVariable *&o) |
PStream & | PLearn::operator<< (PStream &out, const SignVariable &o) |
PStream & | PLearn::operator>> (PStream &in, PP< SignVariable > &o) |
template<class ObjectType > | |
int | PLearn::diff (const string &refer, const string &other, const Option< ObjectType, SignVariable > *opt, PLearnDiff *diffs) |
Var | PLearn::sign (Var input) |