diff options
author | Pjotr Prins | 2017-12-06 16:36:11 +0000 |
---|---|---|
committer | Pjotr Prins | 2017-12-06 16:36:11 +0000 |
commit | 29df576cca8052e4aa9142ce1bb0ab490b864976 (patch) | |
tree | f29ec0245a2cd58f9c598d8b3dae53144cc11887 /src/mathfunc.h | |
parent | 996f70910c675e249fac753273b11555b1b7a4e3 (diff) | |
download | pangemma-29df576cca8052e4aa9142ce1bb0ab490b864976.tar.gz |
Some cleanup on matrix checking
Diffstat (limited to 'src/mathfunc.h')
-rw-r--r-- | src/mathfunc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mathfunc.h b/src/mathfunc.h index 0d791a1..481d022 100644 --- a/src/mathfunc.h +++ b/src/mathfunc.h @@ -45,7 +45,7 @@ void CenterMatrix(gsl_matrix *G, const gsl_matrix *W); void StandardizeMatrix(gsl_matrix *G); double ScaleMatrix(gsl_matrix *G); bool has_negative_values_but_one(const gsl_vector *v); -uint count_small_values(const gsl_vector *v, double min); +uint count_abs_small_values(const gsl_vector *v, double min); bool isMatrixPositiveDefinite(const gsl_matrix *G); bool isMatrixIllConditioned(const gsl_vector *eigenvalues, double max_ratio=CONDITIONED_MAXRATIO); bool isMatrixSymmetric(const gsl_matrix *G); |