Public Member Functions | Private Attributes
gaussian Class Reference

#include <gaussian.h>

List of all members.

Public Member Functions

 gaussian ()
 gaussian (float, float)
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

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

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.

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:


art_map
Author(s): David Li, Patrick Beeson, Bartley Gillen, Tarun Nimmagadda, Mickey Ristroph, Michael Quinlan, Jack O'Quin
autogenerated on Fri Jan 3 2014 11:08:34