bsta_var_functor< dist_ > Class Template Reference

#include <bsta_basic_functors.h>

List of all members.


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.


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() (const dist_ &d, return_type &retval) const
 The main function.

Static Public Attributes

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

Classes

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

Member Typedef Documentation

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

Definition at line 182 of file bsta_basic_functors.h.

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.


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() ( const dist_ &  d,
return_type retval 
) 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:
Generated on Mon Mar 8 05:30:35 2010 for contrib/brl/bbas/bsta by  doxygen 1.5.1