diff options
author | Pjotr Prins | 2018-08-25 11:32:46 +0000 |
---|---|---|
committer | Pjotr Prins | 2018-08-25 11:32:46 +0000 |
commit | be551a1b3c324dc96750cf992b6a5784e2b92ec7 (patch) | |
tree | 01830a02558f85b33fcb6ce7d54d1daab28ca669 /src/mathfunc.h | |
parent | a24297bb1cb686d3630db3a0da8fa8a2079ad178 (diff) | |
download | pangemma-be551a1b3c324dc96750cf992b6a5784e2b92ec7.tar.gz |
Number format checking in strict mode. Also fixes #149
Diffstat (limited to 'src/mathfunc.h')
-rw-r--r-- | src/mathfunc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mathfunc.h b/src/mathfunc.h index 8258c22..89a34e6 100644 --- a/src/mathfunc.h +++ b/src/mathfunc.h @@ -40,6 +40,8 @@ bool has_inf(const gsl_vector *v); bool has_nan(const gsl_matrix *m); bool has_inf(const gsl_matrix *m); +bool is_integer(const std::string & s); + double VectorVar(const gsl_vector *v); void CenterMatrix(gsl_matrix *G); void CenterMatrix(gsl_matrix *G, const gsl_vector *w); |