Mixture of multi-variate gaussian states. More...
#include <MultiGaussianState.h>
Public Types | |
typedef SingleGaussianState< N >::Matrix | Matrix |
typedef SingleGaussianState< N > | SingleState |
typedef std::vector< SingleStatePtr > | SingleStateContainer |
typedef std::shared_ptr< SingleState > | SingleStatePtr |
typedef SingleGaussianState< N >::Vector | Vector |
Public Member Functions | |
const SingleStateContainer & | components () const |
access to components (single Gaussian states) More... | |
const Matrix & | covariance () const |
combined covariance matrix More... | |
int | dimension () const |
dimension of parameter vector More... | |
const Vector & | mean () const |
combined mean More... | |
MultiGaussianState () | |
MultiGaussianState (const SingleStateContainer &stateV) | |
void | rescaleWeight (double scale) |
rescale weight More... | |
void | setWeight (double newWeight) |
renormalize weight More... | |
double | weight () const |
combined weight More... | |
const Matrix & | weightMatrix () const |
combined weight matrix More... | |
~MultiGaussianState () | |
Private Member Functions | |
void | checkCombinedState () const |
calculation of the combined state (on demand) More... | |
Private Attributes | |
SingleStatePtr | theCombinedState |
bool | theCombinedStateUp2Date |
const SingleStateContainer | theComponents |
Mixture of multi-variate gaussian states.
Multi-dimensional multi-Gaussian mixture: weighted sum of single Gaussian components.
Definition at line 18 of file MultiGaussianState.h.
typedef SingleGaussianState<N>::Matrix MultiGaussianState< N >::Matrix |
Definition at line 21 of file MultiGaussianState.h.
typedef SingleGaussianState<N> MultiGaussianState< N >::SingleState |
Definition at line 22 of file MultiGaussianState.h.
typedef std::vector<SingleStatePtr> MultiGaussianState< N >::SingleStateContainer |
Definition at line 25 of file MultiGaussianState.h.
typedef std::shared_ptr<SingleState> MultiGaussianState< N >::SingleStatePtr |
Definition at line 23 of file MultiGaussianState.h.
typedef SingleGaussianState<N>::Vector MultiGaussianState< N >::Vector |
Definition at line 20 of file MultiGaussianState.h.
|
inline |
Definition at line 28 of file MultiGaussianState.h.
|
inline |
Definition at line 33 of file MultiGaussianState.h.
|
inline |
Definition at line 48 of file MultiGaussianState.h.
References MultiGaussianState< N >::covariance(), MultiGaussianState< N >::mean(), MultiGaussianState< N >::weight(), and MultiGaussianState< N >::weightMatrix().
|
private |
calculation of the combined state (on demand)
Referenced by MultiGaussianState< N >::dimension().
|
inline |
access to components (single Gaussian states)
Definition at line 83 of file MultiGaussianState.h.
References MultiGaussianState< N >::theComponents.
Referenced by GaussianSumUtilities< N >::components(), GaussianStateConversions::tsosFromMultiGaussianState(), and GaussianStateConversions::vertexFromMultiGaussianState().
const Matrix& MultiGaussianState< N >::covariance | ( | ) | const |
combined covariance matrix
Referenced by GaussianSumUtilities< N >::covariance(), and MultiGaussianState< N >::~MultiGaussianState().
|
inline |
dimension of parameter vector
Definition at line 85 of file MultiGaussianState.h.
References MultiGaussianState< N >::checkCombinedState(), N, MultiGaussianState< N >::rescaleWeight(), Scenarios_cff::scale, and MultiGaussianState< N >::setWeight().
const Vector& MultiGaussianState< N >::mean | ( | ) | const |
combined mean
Referenced by GaussianSumUtilities< N >::mean(), and MultiGaussianState< N >::~MultiGaussianState().
void MultiGaussianState< N >::rescaleWeight | ( | double | scale | ) |
rescale weight
Referenced by MultiGaussianState< N >::dimension().
void MultiGaussianState< N >::setWeight | ( | double | newWeight | ) |
renormalize weight
Referenced by MultiGaussianState< N >::dimension().
double MultiGaussianState< N >::weight | ( | ) | const |
combined weight
Creates a new multi-state with the given components. For this base class, no information is passed from the initial instance. Creates a new single-state with the given information. For this base class, no information is passed from the initial instance.
Referenced by GaussianSumUtilities< N >::weight(), and MultiGaussianState< N >::~MultiGaussianState().
const Matrix& MultiGaussianState< N >::weightMatrix | ( | ) | const |
combined weight matrix
Referenced by MultiGaussianState< N >::~MultiGaussianState().
|
mutableprivate |
Definition at line 99 of file MultiGaussianState.h.
|
mutableprivate |
Definition at line 100 of file MultiGaussianState.h.
|
private |
Definition at line 98 of file MultiGaussianState.h.
Referenced by MultiGaussianState< N >::components().