|
Bayesian Filtering Library Generated from SVN r
|
#include <sample.h>
Public Member Functions | |
| Sample (unsigned int dimension=0) | |
| Constructor. | |
| virtual | ~Sample () |
| Destructor. | |
| Sample (const Sample< T > &my_sample) | |
| Copy Constructor. | |
| T & | ValueGet () |
| Get the value of the Sample. | |
| const T & | ValueGet () const |
| Get the value of the Sample. | |
| unsigned int | DimensionGet () const |
| void | DimensionSet (unsigned int dim) |
| void | ValueSet (const T &value) |
| Set the value of the Sample. | |
| Sample & | operator= (const Sample &my_sample) |
| Operator =. | |
Protected Attributes | |
| T | Value |
| The Sample Value. | |
Friends | |
| template<typename S > | |
| ostream & | operator<< (ostream &stream, Sample< S > &my_sample) |
| Print a sample. | |
| template<typename S > | |
| istream & | operator>> (istream &stream, Sample< S > &my_sample) |
Template Class representing a basic sample of a continuous or discrete pdf
| Sample | ( | unsigned int | dimension = 0 | ) |
| void DimensionSet | ( | unsigned int | dim | ) |
| T & ValueGet | ( | ) |
Get the value of the Sample.
Definition at line 132 of file sample.h.
Referenced by Sample< T >::operator=().
| const T & ValueGet | ( | ) | const |
| void ValueSet | ( | const T & | value | ) |
|
friend |
|
friend |