Classes | Public Types | Public Member Functions | Static Public Attributes
bsta_var_functor< dist_ > Class Template Reference

A functor to return the variance 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 = 1 }
typedef dist_::math_type T
typedef T return_T
typedef return_T return_type

Public Member Functions

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

Static Public Attributes

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

Detailed Description

template<class dist_>
class bsta_var_functor< dist_ >

A functor to return the variance of the Gaussian.

Note:
the distribution must be spherical Gaussian

Definition at line 179 of file bsta_basic_functors.h.


Member Typedef Documentation

template<class dist_ >
typedef T bsta_var_functor< dist_ >::return_T

Definition at line 183 of file bsta_basic_functors.h.

template<class dist_ >
typedef return_T bsta_var_functor< dist_ >::return_type

Definition at line 184 of file bsta_basic_functors.h.

template<class dist_ >
typedef dist_::math_type bsta_var_functor< dist_ >::T

Definition at line 182 of file bsta_basic_functors.h.


Member Enumeration Documentation

template<class dist_ >
anonymous enum
Enumerator:
return_dim 

Definition at line 185 of file bsta_basic_functors.h.


Member Function Documentation

template<class dist_ >
bool bsta_var_functor< dist_ >::operator() ( dist_ const &  ,
return_T  
) const [inline]

The main function.

Definition at line 203 of file bsta_basic_functors.h.


Member Data Documentation

template<class dist_ >
const bool bsta_var_functor< dist_ >::valid_functor = false [static]

is this functor valid for its distribution type.

Definition at line 187 of file bsta_basic_functors.h.


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