#include <SampleVariable.h>
Inheritance diagram for PLearn::UniformSampleVariable:


Public Member Functions | |
| UniformSampleVariable (int length=1, int width=1, real minvalue=0, real maxvalue=1) | |
| virtual UniformSampleVariable * | deepCopy (map< const void *, void * > &copies) const |
| virtual string | classname () const |
| virtual void | fprop () |
| compute output given input | |
Protected Attributes | |
| real | min_value |
| real | max_value |
| box constraints on values | |
| char | name [50] |
|
||||||||||||||||||||
|
Definition at line 96 of file SampleVariable.cc. |
|
|
Reimplemented from PLearn::SourceSampleVariable. Definition at line 93 of file SampleVariable.cc. |
|
|
Implements PLearn::SourceSampleVariable. Definition at line 105 of file SampleVariable.cc. References PLearn::SourceVariable::makeDeepCopyFromShallowCopy(). |
|
|
compute output given input
Reimplemented from PLearn::SourceVariable. Definition at line 121 of file SampleVariable.cc. References PLearn::bounded_uniform(), k, max_value, min_value, and PLearn::Variable::nelems(). |
|
|
box constraints on values
Reimplemented from PLearn::Variable. Definition at line 94 of file SampleVariable.h. Referenced by fprop(), and UniformSampleVariable(). |
|
|
Reimplemented from PLearn::Variable. Definition at line 94 of file SampleVariable.h. Referenced by fprop(), and UniformSampleVariable(). |
|
|
Definition at line 95 of file SampleVariable.h. Referenced by UniformSampleVariable(). |
1.3.7