$search

gaussian Class Reference

#include <gaussian.h>

List of all members.

Public Member Functions

 gaussian (float, float)
 gaussian ()
float get_sample_1D ()

Private Attributes

float _mean1
bool _ready
float _std1
float _var1

Detailed Description

Definition at line 22 of file gaussian.h.


Constructor & Destructor Documentation

gaussian::gaussian (  ) 

This constructor is basically here in order to declare variables in other classes.

mean = variance = 0

Definition at line 21 of file gaussian.cc.

gaussian::gaussian ( float  mean,
float  var 
)

Initialize a univariate Gaussian with a mean and variance.

Definition at line 29 of file gaussian.cc.


Member Function Documentation

float gaussian::get_sample_1D (  ) 

Returns a sample from a univariate Gaussian.

If the Gaussian was initialized as a multivariate, it returns a sample using the first dimension of the mean vector and the first element (0,0) of the covariance matrix as the variance.

Definition at line 43 of file gaussian.cc.


Member Data Documentation

float gaussian::_mean1 [private]

Definition at line 31 of file gaussian.h.

bool gaussian::_ready [private]

Definition at line 29 of file gaussian.h.

float gaussian::_std1 [private]

Definition at line 31 of file gaussian.h.

float gaussian::_var1 [private]

Definition at line 31 of file gaussian.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


art_map
Author(s): David Li, Patrick Beeson, Bartley Gillen, Tarun Nimmagadda, Mickey Ristroph, Michael Quinlan, Jack O'Quin
autogenerated on Fri Mar 1 14:12:37 2013