#include <sample.h>
Public Member Functions | |
| template<> | |
| unsigned int | DimensionGet () const |
| template<> | |
| unsigned int | DimensionGet () const |
| template<> | |
| unsigned int | DimensionGet () const |
| unsigned int | DimensionGet () const |
| template<> | |
| void | DimensionSet (unsigned int dim) |
| template<> | |
| void | DimensionSet (unsigned int dim) |
| template<> | |
| void | DimensionSet (unsigned int dim) |
| void | DimensionSet (unsigned int dim) |
| Sample & | operator= (const Sample &my_sample) |
| Operator =. More... | |
| template<> | |
| Sample (unsigned int dimension) | |
| Sample (unsigned int dimension=0) | |
| Constructor. More... | |
| Sample (const Sample< T > &my_sample) | |
| Copy Constructor. More... | |
| T & | ValueGet () |
| Get the value of the Sample. More... | |
| const T & | ValueGet () const |
| Get the value of the Sample. More... | |
| void | ValueSet (const T &value) |
| Set the value of the Sample. More... | |
| virtual | ~Sample () |
| Destructor. More... | |
Protected Attributes | |
| T | Value |
| The Sample Value. More... | |
Friends | |
| template<typename S > | |
| ostream & | operator<< (ostream &stream, Sample< S > &my_sample) |
| Print a sample. More... | |
| template<typename S > | |
| istream & | operator>> (istream &stream, Sample< S > &my_sample) |
Template Class representing a basic sample of a continuous or discrete pdf
| BFL::Sample< T >::Sample | ( | unsigned int | dimension = 0 | ) |
Constructor.
| dimension | of the ColumnVector for the continuous samples. This parameter is ignored in the discrete case. |
|
virtual |
Destructor.
| BFL::Sample< T >::Sample | ( | const Sample< T > & | my_sample | ) |
Copy Constructor.
|
inline |
Definition at line 30 of file sample.cpp.
|
inline |
Definition at line 36 of file sample.cpp.
|
inline |
Definition at line 49 of file sample.cpp.
|
inline |
Definition at line 62 of file sample.cpp.
| unsigned int BFL::Sample< T >::DimensionGet | ( | ) | const |
|
inline |
Definition at line 42 of file sample.cpp.
|
inline |
Definition at line 55 of file sample.cpp.
|
inline |
Definition at line 68 of file sample.cpp.
| void BFL::Sample< T >::DimensionSet | ( | unsigned int | dim | ) |
| Sample& BFL::Sample< T >::operator= | ( | const Sample< T > & | my_sample | ) |
Operator =.
| T& BFL::Sample< T >::ValueGet | ( | ) |
Get the value of the Sample.
| const T& BFL::Sample< T >::ValueGet | ( | ) | const |
Get the value of the Sample.
| void BFL::Sample< T >::ValueSet | ( | const T & | value | ) |
Set the value of the Sample.
| value | the value indeed :-) |
|
friend |
|
friend |
|
protected |