#include <asirfilter.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
Definition at line 47 of file asirfilter.h.
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. |
Definition at line 108 of file asirfilter.h.
|
virtual |
Destructor.
Definition at line 113 of file asirfilter.h.
BFL::Sample< T >::Sample | ( | const Sample< T > & | my_sample | ) |
Copy Constructor.
Definition at line 118 of file asirfilter.h.
|
inline |
Definition at line 31 of file asirfilter.h.
|
inline |
Definition at line 37 of file asirfilter.h.
|
inline |
Definition at line 50 of file asirfilter.h.
|
inline |
Definition at line 63 of file asirfilter.h.
unsigned int BFL::Sample< T >::DimensionGet | ( | ) | const |
Definition at line 145 of file asirfilter.h.
|
inline |
Definition at line 43 of file asirfilter.h.
|
inline |
Definition at line 56 of file asirfilter.h.
|
inline |
Definition at line 69 of file asirfilter.h.
void BFL::Sample< T >::DimensionSet | ( | unsigned int | dim | ) |
Definition at line 151 of file asirfilter.h.
Sample< T > & BFL::Sample< T >::operator= | ( | const Sample< T > & | my_sample | ) |
Operator =.
Definition at line 170 of file asirfilter.h.
T & BFL::Sample< T >::ValueGet | ( | ) |
Get the value of the Sample.
Definition at line 132 of file asirfilter.h.
const T & BFL::Sample< T >::ValueGet | ( | ) | const |
Get the value of the Sample.
Definition at line 139 of file asirfilter.h.
void BFL::Sample< T >::ValueSet | ( | const T & | value | ) |
Set the value of the Sample.
value | the value indeed :-) |
Definition at line 125 of file asirfilter.h.
|
friend |
Print a sample.
stream | the stream to be returned |
my_sample | the sample to be printed |
Definition at line 155 of file asirfilter.h.
|
friend |
Definition at line 161 of file asirfilter.h.
|
protected |
The Sample Value.
Definition at line 51 of file asirfilter.h.