diff options
Diffstat (limited to 'src/debug.h')
-rw-r--r-- | src/debug.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/debug.h b/src/debug.h index 64ab721..a4be9f5 100644 --- a/src/debug.h +++ b/src/debug.h @@ -52,6 +52,9 @@ void disable_segfpe(); { auto x = m * n; \ enforce_msg(x / m == n, "multiply integer overflow"); } +void write(const gsl_vector *v, const char *msg); +void write(const gsl_matrix *m, const char *msg); + gsl_matrix *gsl_matrix_safe_alloc(size_t rows,size_t cols); int gsl_matrix_safe_memcpy (gsl_matrix *dest, const gsl_matrix *src); void gsl_matrix_safe_free (gsl_matrix *v); |