void BLI_covariance_m_vn_ex(int n, const float *cos_vn, int cos_vn_num, const float *center, bool use_sample_correction, float *r_covmat)
Compute the covariance matrix of given set of nD coordinates.
void BLI_covariance_m3_v3n(const float(*cos_v3)[3], int cos_v3_num, bool use_sample_correction, float r_covmat[3][3], float r_center[3])
Compute the covariance matrix of given set of 3D coordinates.