Internal C++ algorithm for computing the cost matrix.
Gmixt_algo_cpp(zi, lgi, P, mvec, wk, svec, prop)
vector of observations
vector of indices
number of class
vector of means for each class
temporary vector for calculations
vector of standard deviations for each class
mixture vector