Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Types
bsta_gaussian< T, n > Class Template Reference

A Gaussian distribution. More...

#include <bsta_gaussian.h>

Inheritance diagram for bsta_gaussian< T, n >:
Inheritance graph
[legend]

List of all members.

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_

Detailed Description

template<class T, unsigned n>
class bsta_gaussian< T, n >

A Gaussian distribution.

used as a component of the mixture

Definition at line 39 of file bsta_gaussian.h.


Member Typedef Documentation

template<class T, unsigned n>
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.

template<class T, unsigned n>
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.

template<class T, unsigned n>
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.

template<class T, unsigned n>
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.


Member Enumeration Documentation

template<class T, unsigned n>
anonymous enum [inherited]

The dimension of the distribution.

Enumerator:
dimension 

Definition at line 23 of file bsta_distribution.h.


Constructor & Destructor Documentation

template<class T, unsigned n>
bsta_gaussian< T, n >::bsta_gaussian ( ) [inline, protected]

Definition at line 52 of file bsta_gaussian.h.

template<class T, unsigned n>
bsta_gaussian< T, n >::bsta_gaussian ( const vector_ mean) [inline, protected]

Definition at line 53 of file bsta_gaussian.h.


Member Function Documentation

template<class T, unsigned n>
const vector_& bsta_gaussian< T, n >::mean ( ) const [inline]

The mean of the distribution.

Definition at line 46 of file bsta_gaussian.h.

template<class T, unsigned n>
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.


Member Data Documentation

template<class T, unsigned n>
vector_ bsta_gaussian< T, n >::mean_ [protected]

The mean.

Definition at line 56 of file bsta_gaussian.h.


The documentation for this class was generated from the following file: