CMP++: Uncertainty Quantification & Bayesian Calibration
Loading...
Searching...
No Matches
cmp::cluster::DirichletProcessMixtureModel::Cluster Struct Reference

Public Member Functions

 Cluster ()
 
 Cluster (size_t id, size_t dim)
 

Public Attributes

size_t id_
 Unique cluster ID (not necessarily contiguous).
 
size_t nPoints_
 Number of points assigned to this cluster.
 
Eigen::VectorXd sumOfX_
 Sum of all points in the cluster.
 
Eigen::MatrixXd sumOfXXT_
 Sum of all outer products x * x^T for points in the cluster.
 

Constructor & Destructor Documentation

◆ Cluster() [1/2]

cmp::cluster::DirichletProcessMixtureModel::Cluster::Cluster ( )
inline

◆ Cluster() [2/2]

cmp::cluster::DirichletProcessMixtureModel::Cluster::Cluster ( size_t  id,
size_t  dim 
)
inline

Member Data Documentation

◆ id_

size_t cmp::cluster::DirichletProcessMixtureModel::Cluster::id_

Unique cluster ID (not necessarily contiguous).

◆ nPoints_

size_t cmp::cluster::DirichletProcessMixtureModel::Cluster::nPoints_

Number of points assigned to this cluster.

◆ sumOfX_

Eigen::VectorXd cmp::cluster::DirichletProcessMixtureModel::Cluster::sumOfX_

Sum of all points in the cluster.

◆ sumOfXXT_

Eigen::MatrixXd cmp::cluster::DirichletProcessMixtureModel::Cluster::sumOfXXT_

Sum of all outer products x * x^T for points in the cluster.


The documentation for this struct was generated from the following file: