A Gaussian distribution. More...
#include <bsta_gaussian.h>
Public Types | |
enum | { dimension = n } |
The dimension of the distribution. More... | |
typedef T | math_type |
The type used for calculations. | |
typedef vnl_vector_fixed < math_type, dimension > | vector_type |
The type used for a n-dimensional vector of math types. | |
typedef vector_type | field_type |
for compatibility with vpdl/vpdt. | |
Public Member Functions | |
const vector_ & | mean () const |
The mean of the distribution. | |
void | set_mean (const vector_ &mean) |
Set the mean of the distribution. | |
Protected Member Functions | |
bsta_gaussian () | |
bsta_gaussian (const vector_ &mean) | |
Protected Attributes | |
vector_ | mean_ |
The mean. | |
Private Types | |
typedef bsta_distribution< T, n >::vector_type | vector_ |
A Gaussian distribution.
used as a component of the mixture
Definition at line 39 of file bsta_gaussian.h.
typedef vector_type bsta_distribution< T, n >::field_type [inherited] |
for compatibility with vpdl/vpdt.
Reimplemented in bsta_von_mises< T, n >.
Definition at line 29 of file bsta_distribution.h.
typedef T bsta_distribution< T, n >::math_type [inherited] |
The type used for calculations.
Reimplemented in bsta_von_mises< T, n >.
Definition at line 25 of file bsta_distribution.h.
typedef bsta_distribution<T,n>::vector_type bsta_gaussian< T, n >::vector_ [private] |
Reimplemented in bsta_gaussian_indep< T, n >, and bsta_gaussian_sphere< T, n >.
Definition at line 41 of file bsta_gaussian.h.
typedef vnl_vector_fixed<math_type,dimension> bsta_distribution< T, n >::vector_type [inherited] |
The type used for a n-dimensional vector of math types.
Reimplemented in bsta_von_mises< T, n >.
Definition at line 27 of file bsta_distribution.h.
anonymous enum [inherited] |
The dimension of the distribution.
Definition at line 23 of file bsta_distribution.h.
bsta_gaussian< T, n >::bsta_gaussian | ( | ) | [inline, protected] |
Definition at line 52 of file bsta_gaussian.h.
bsta_gaussian< T, n >::bsta_gaussian | ( | const vector_ & | mean | ) | [inline, protected] |
Definition at line 53 of file bsta_gaussian.h.
const vector_& bsta_gaussian< T, n >::mean | ( | ) | const [inline] |
The mean of the distribution.
Definition at line 46 of file bsta_gaussian.h.
void bsta_gaussian< T, n >::set_mean | ( | const vector_ & | mean | ) | [inline] |
Set the mean of the distribution.
Definition at line 49 of file bsta_gaussian.h.
vector_ bsta_gaussian< T, n >::mean_ [protected] |
The mean.
Definition at line 56 of file bsta_gaussian.h.