diff options
author | Pjotr Prins | 2018-09-06 11:59:03 +0000 |
---|---|---|
committer | Pjotr Prins | 2018-09-06 11:59:03 +0000 |
commit | cdf407bd7994dbe41a952bf29cacc1a2ca9c722e (patch) | |
tree | 1bd91f84684d556505ca930ecc73ceacbb1ce8ca /src/mvlmm.cpp | |
parent | 6dd15bfabc5c655d18ea19c0d69b76ecc34630e2 (diff) | |
download | pangemma-cdf407bd7994dbe41a952bf29cacc1a2ca9c722e.tar.gz |
More debugging and a performance check
Diffstat (limited to 'src/mvlmm.cpp')
-rw-r--r-- | src/mvlmm.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mvlmm.cpp b/src/mvlmm.cpp index d877302..faea21e 100644 --- a/src/mvlmm.cpp +++ b/src/mvlmm.cpp @@ -321,12 +321,15 @@ double CalcQi(const gsl_vector *eval, const gsl_vector *D_l, } // xHiy=\sum_{k=1}^n x_k\otimes ((delta_k*Dl+I)^{-1}Ul^TVe^{-1/2}y. +// +// FIXME: mvlmm spends a massive amount of time here void CalcXHiY(const gsl_vector *eval, const gsl_vector *D_l, const gsl_matrix *X, const gsl_matrix *UltVehiY, gsl_vector *xHiy) { + debug_msg("enter"); size_t n_size = eval->size, c_size = X->size1, d_size = D_l->size; - gsl_vector_set_zero(xHiy); + // gsl_vector_set_zero(xHiy); double x, delta, dl, y, d; for (size_t i = 0; i < d_size; i++) { @@ -342,6 +345,7 @@ void CalcXHiY(const gsl_vector *eval, const gsl_vector *D_l, gsl_vector_set(xHiy, j * d_size + i, d); } } + // debug_msg("exit"); return; } |