>covariances</em> have <em>dimension</em> rows and <em>numCluster</em> columns. <em>priors</em> is a vector of size <em>numCluster</em>. <em>data</em> has <em>dimension</em> rows and <em>numData</em> columns. <em>enc</em> is a vecotr of size equal to twice the product of <em>dimension</em> and <em>numClusters</em>. All these vectors and matrices have the same class, as specified by <em>dataType</em>, and must be stored in column-major format.</p>
<p><em>flag</em> can be used to control several options: <a c