Classes | Public Types | Public Member Functions | Static Public Attributes
bsta_mean_functor< dist_, Disambiguate > Class Template Reference

A functor to return the mean of the Gaussian. More...

#include <bsta_basic_functors.h>

List of all members.

Classes

struct  rebind
 rebind this functor to another distribution type. More...

Public Types

enum  { return_dim = dist_::dimension }
typedef dist_::math_type T
typedef dist_::vector_type vector_
typedef vector_ return_T
typedef return_T return_type

Public Member Functions

bool operator() (const dist_ &d, return_T &retval) const
 The main function.

Static Public Attributes

static const bool valid_functor = true
 is this functor valid for its distribution type.

Detailed Description

template<class dist_, class Disambiguate = void>
class bsta_mean_functor< dist_, Disambiguate >

A functor to return the mean of the Gaussian.

Note:
the distribution must be Gaussian

Definition at line 127 of file bsta_basic_functors.h.


Member Typedef Documentation

template<class dist_ , class Disambiguate = void>
typedef vector_ bsta_mean_functor< dist_, Disambiguate >::return_T

Definition at line 132 of file bsta_basic_functors.h.

template<class dist_ , class Disambiguate = void>
typedef return_T bsta_mean_functor< dist_, Disambiguate >::return_type

Definition at line 133 of file bsta_basic_functors.h.

template<class dist_ , class Disambiguate = void>
typedef dist_::math_type bsta_mean_functor< dist_, Disambiguate >::T

Definition at line 130 of file bsta_basic_functors.h.

template<class dist_ , class Disambiguate = void>
typedef dist_::vector_type bsta_mean_functor< dist_, Disambiguate >::vector_

Definition at line 131 of file bsta_basic_functors.h.


Member Enumeration Documentation

template<class dist_ , class Disambiguate = void>
anonymous enum
Enumerator:
return_dim 

Definition at line 136 of file bsta_basic_functors.h.


Member Function Documentation

template<class dist_ , class Disambiguate = void>
bool bsta_mean_functor< dist_, Disambiguate >::operator() ( const dist_ &  d,
return_T retval 
) const [inline]

The main function.

Definition at line 145 of file bsta_basic_functors.h.


Member Data Documentation

template<class dist_ , class Disambiguate = void>
const bool bsta_mean_functor< dist_, Disambiguate >::valid_functor = true [static]

is this functor valid for its distribution type.

Definition at line 135 of file bsta_basic_functors.h.


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