|
#include <MemoryX/libraries/helpers/EarlyVisionHelpers/Gaussian.h>
Public Types | |
using | covariance_type = Eigen::MatrixXd |
using | samples_type = Eigen::MatrixXd |
using | value_type = Eigen::VectorXd |
Public Member Functions | |
value_type | drawSample () |
value_type | drawSampleDiagonalCovariance () |
double | evaluate (const value_type &point) |
Gaussian () | |
Gaussian (const Gaussian &prototype) | |
Gaussian (const value_type &mean, const covariance_type &covariance) | |
Gaussian (int dimension) | |
void | generateFromSamples (const samples_type &samples) |
const covariance_type & | getCovariance () const |
int | getDimensions () const |
const value_type & | getMean () const |
double | mahalanobis (const value_type &point) |
Gaussian & | operator= (const Gaussian &prototype) |
void | set (const Gaussian &prototype) |
void | set (const value_type &mean, const covariance_type &cov) |
void | setCovariance (const covariance_type &cov) |
void | setMean (const value_type &mean) |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const Gaussian &rhs) |
Definition at line 46 of file Gaussian.h.
using covariance_type = Eigen::MatrixXd |
Definition at line 53 of file Gaussian.h.
using samples_type = Eigen::MatrixXd |
Definition at line 54 of file Gaussian.h.
using value_type = Eigen::VectorXd |
Definition at line 52 of file Gaussian.h.
Gaussian | ( | ) |
Definition at line 20 of file Gaussian.cpp.
Gaussian | ( | int | dimension | ) |
Definition at line 34 of file Gaussian.cpp.
Gaussian | ( | const value_type & | mean, |
const covariance_type & | covariance | ||
) |
Definition at line 39 of file Gaussian.cpp.
Gaussian::value_type drawSample | ( | ) |
Gaussian::value_type drawSampleDiagonalCovariance | ( | ) |
double evaluate | ( | const value_type & | point | ) |
Definition at line 55 of file Gaussian.cpp.
void generateFromSamples | ( | const samples_type & | samples | ) |
|
inline |
|
inline |
|
inline |
double mahalanobis | ( | const value_type & | point | ) |
Definition at line 91 of file Gaussian.h.
void set | ( | const Gaussian & | prototype | ) |
void set | ( | const value_type & | mean, |
const covariance_type & | cov | ||
) |
Definition at line 222 of file Gaussian.cpp.
void setCovariance | ( | const covariance_type & | cov | ) |
void setMean | ( | const value_type & | mean | ) |
Definition at line 245 of file Gaussian.cpp.
|
friend |
Definition at line 104 of file Gaussian.h.