#include <GaussianMixture.h>
Public Member Functions | |
bool | normalized () |
Gets if the pdf is normalized. | |
void | normalize () |
Normalizes the pdf. | |
GaussianMixture () | |
Default constructor. | |
DCol | expectedValue () |
Returns the expected value. | |
Decimal | covariance (int row, int col) |
Returns the (row-th, col-th) element of the covariance matrix. | |
Decimal | evaluate (DCol p) |
Returns the the value of the pdf in the given position. | |
string | print () |
Prints all interesting data on a string. |
MipBaselib::GaussianMixture::GaussianMixture | ( | ) |
Default constructor.
bool MipBaselib::GaussianMixture::normalized | ( | ) |
Gets if the pdf is normalized.
void MipBaselib::GaussianMixture::normalize | ( | ) |
Normalizes the pdf.
For the sake of simplicity and to avoid useless computations, the normalization of the pdf is left to the user. Always normalize the pdf before retreiving data from this pdf.
DCol MipBaselib::GaussianMixture::expectedValue | ( | ) |
Returns the expected value.
Decimal MipBaselib::GaussianMixture::covariance | ( | int | row, | |
int | col | |||
) |
Returns the (row-th, col-th) element of the covariance matrix.
[in] | row | Requested row. |
[in] | col | Requested column. |
Returns the the value of the pdf in the given position.
[in] | col | Requested position. |
string MipBaselib::GaussianMixture::print | ( | ) |
Prints all interesting data on a string.